Skip to content

Commit be7a66d

Browse files
authored
fixes ${{ env.VERSION }}
1 parent d419fb3 commit be7a66d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/release_build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
with:
5050
repo_token: ${{ secrets.GITHUB_TOKEN }}
5151
overwrite: true
52-
tag: ${{ env.VERSION }}
53-
asset_name: choosenim-$tag_linux_amd64
52+
tag: ${{ github.ref }}
53+
asset_name: choosenim-${{ env.VERSION }}_linux_amd64
5454
file: ${{ runner.workspace }}/choosenim/choosenim/bin/choosenim
5555

5656
build-win32-exe:
@@ -77,8 +77,8 @@ jobs:
7777
with:
7878
repo_token: ${{ secrets.GITHUB_TOKEN }}
7979
overwrite: true
80-
tag: ${{ env.VERSION }}
81-
asset_name: choosenim-$tag_windows_amd64.exe
80+
tag: ${{ github.ref }}
81+
asset_name: choosenim-${{ env.VERSION }}_windows_amd64.exe
8282
file: ${{ runner.workspace }}/choosenim/bin/choosenim.exe
8383

8484
# ----------------------------------------------------------------------------
@@ -113,8 +113,8 @@ jobs:
113113
with:
114114
repo_token: ${{ secrets.GITHUB_TOKEN }}
115115
overwrite: true
116-
tag: ${{ env.VERSION }}
117-
asset_name: choosenim-$tag_windows_amd64.zip
116+
tag: ${{ github.ref }}
117+
asset_name: choosenim-${{ env.VERSION }}_windows_amd64.zip
118118
file: ${{ runner.workspace }}/choosenim/choosenim-windows.zip
119119

120120
# ----------------------------------------------------------------------------
@@ -144,8 +144,8 @@ jobs:
144144
with:
145145
repo_token: ${{ secrets.GITHUB_TOKEN }}
146146
overwrite: true
147-
tag: ${{ env.VERSION }}
148-
asset_name: choosenim-$tag_macosx_amd64
147+
tag: ${{ github.ref }}
148+
asset_name: choosenim-${{ env.VERSION }}_macosx_amd64
149149
file: ${{ runner.workspace }}/choosenim/bin/choosenim
150150

151151
build-macos_arm64:
@@ -173,6 +173,6 @@ jobs:
173173
with:
174174
repo_token: ${{ secrets.GITHUB_TOKEN }}
175175
overwrite: true
176-
tag: ${{ env.VERSION }}
177-
asset_name: choosenim-$tag_macosx_arm64
176+
tag: ${{ github.ref }}
177+
asset_name: choosenim-${{ env.VERSION }}_macosx_arm64
178178
file: ${{ runner.workspace }}/choosenim/bin/choosenim

0 commit comments

Comments
 (0)