Skip to content

Commit fdc4ed8

Browse files
authored
I hate windows
1 parent f1b717d commit fdc4ed8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release_build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ jobs:
7070
run: |
7171
$VERSION = $Env:GITHUB_REF_NAME.Trim("v")
7272
echo $VERSION
73-
echo "VERSION=$VERSION" >> $GITHUB_ENV
73+
"VERSION=$VERSION" >> $env:GITHUB_ENV
7474
7575
- name: Upload binaries to release/tag
7676
uses: svenstaro/upload-release-action@v2
7777
with:
7878
repo_token: ${{ secrets.GITHUB_TOKEN }}
7979
overwrite: true
80-
tag: ${{ VERSION }}
80+
tag: ${{ env.VERSION }}
8181
asset_name: choosenim-$tag_windows_amd64.exe
8282
file: ${{ runner.workspace }}/choosenim/bin/choosenim.exe
8383

@@ -106,14 +106,14 @@ jobs:
106106
run: |
107107
$VERSION = $Env:GITHUB_REF_NAME.Trim("v")
108108
echo $VERSION
109-
echo "VERSION=$VERSION" >> $GITHUB_ENV
109+
"VERSION=$VERSION" >> $env:GITHUB_ENV
110110
111111
- name: Upload binaries to release/tag
112112
uses: svenstaro/upload-release-action@v2
113113
with:
114114
repo_token: ${{ secrets.GITHUB_TOKEN }}
115115
overwrite: true
116-
tag: ${{ VERSION }}
116+
tag: ${{ env.VERSION }}
117117
asset_name: choosenim-$tag_windows_amd64.zip
118118
file: ${{ runner.workspace }}/choosenim/choosenim-windows.zip
119119

0 commit comments

Comments
 (0)