Skip to content

Commit 268b81c

Browse files
committed
Added version number to zip
1 parent d18ba4b commit 268b81c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/compiler.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,15 @@ jobs:
2929
cd ./$archive/projects/windows10
3030
zip -r ../../../$archive.zip *
3131
cd ../../..
32+
echo 'pid: 1234'| sed -r 's/^.{5}//'
33+
- name: Get the version
34+
id: get_version
35+
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
3236
- name: Upload binaries to release
3337
uses: svenstaro/upload-release-action@v1-release
3438
with:
3539
repo_token: ${{ secrets.GITHUB_TOKEN }}
3640
file: ${{ env.archive }}.zip
37-
asset_name: ${{ env.archive }}.zip
41+
asset_name: ${{ env.archive }}-${{ steps.get_version.outputs.VERSION }}.zip
3842
tag: ${{ github.ref }}
3943
overwrite: true

0 commit comments

Comments
 (0)