|
49 | 49 | with: |
50 | 50 | repo_token: ${{ secrets.GITHUB_TOKEN }} |
51 | 51 | 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 |
54 | 54 | file: ${{ runner.workspace }}/choosenim/choosenim/bin/choosenim |
55 | 55 |
|
56 | 56 | build-win32-exe: |
|
77 | 77 | with: |
78 | 78 | repo_token: ${{ secrets.GITHUB_TOKEN }} |
79 | 79 | 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 |
82 | 82 | file: ${{ runner.workspace }}/choosenim/bin/choosenim.exe |
83 | 83 |
|
84 | 84 | # ---------------------------------------------------------------------------- |
@@ -113,8 +113,8 @@ jobs: |
113 | 113 | with: |
114 | 114 | repo_token: ${{ secrets.GITHUB_TOKEN }} |
115 | 115 | 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 |
118 | 118 | file: ${{ runner.workspace }}/choosenim/choosenim-windows.zip |
119 | 119 |
|
120 | 120 | # ---------------------------------------------------------------------------- |
@@ -144,8 +144,8 @@ jobs: |
144 | 144 | with: |
145 | 145 | repo_token: ${{ secrets.GITHUB_TOKEN }} |
146 | 146 | 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 |
149 | 149 | file: ${{ runner.workspace }}/choosenim/bin/choosenim |
150 | 150 |
|
151 | 151 | build-macos_arm64: |
@@ -173,6 +173,6 @@ jobs: |
173 | 173 | with: |
174 | 174 | repo_token: ${{ secrets.GITHUB_TOKEN }} |
175 | 175 | 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 |
178 | 178 | file: ${{ runner.workspace }}/choosenim/bin/choosenim |
0 commit comments