We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ad3ab9 commit 9c009acCopy full SHA for 9c009ac
.github/workflows/build-and-release.yml
@@ -23,7 +23,9 @@ jobs:
23
24
- name: Package App
25
run: |
26
- tar -czvf IPMenuBar-${GITHUB_REF_NAME}.tar.gz -C ./build/Build/Products/Release IPMenuBar.app
+ FILE_NAME="IPMenuBar-${GITHUB_REF_NAME}.tar.gz"
27
+ echo "FILE_NAME=$FILE_NAME" >> $GITHUB_ENV
28
+ tar -czvf $FILE_NAME -C ./build/Build/Products/Release IPMenuBar.app
29
30
- name: Get Previous Tag
31
id: prev_tag
@@ -53,6 +55,6 @@ jobs:
53
55
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54
56
with:
57
upload_url: ${{ steps.create_release.outputs.upload_url }}
- asset_path: ./IPMenuBar-${GITHUB_REF_NAME}.tar.gz
- asset_name: IPMenuBar-${GITHUB_REF_NAME}.tar.gz
58
+ asset_path: ./${{ env.FILE_NAME }}
59
+ asset_name: ${{ env.FILE_NAME }}
60
asset_content_type: application/gzip
0 commit comments