From 4a882fdcca6697c8f44a4d149d7a6272c806a5ca Mon Sep 17 00:00:00 2001 From: abe Date: Wed, 1 Sep 2021 18:15:12 +0200 Subject: [PATCH] fix yml --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 58fd96a..a3ad41b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -116,8 +116,10 @@ jobs: - name: Create tar and gzip it run: | - tar -cvf files.tar ../MAGE . - echo "mage_${{ github.release.tag_name }}.tar" | gzip -k9 - + tar -cvf $TAR_NAME ../MAGE + gzip -k9 $TAR_NAME + env: + TAR_NAME: mage_${{ github.release.tag_name }}.tar # action softprops/action-gh-release@v1 substitute to # actions/upload-release-asset@v1 (which is currently archived)