From fdc4ed874fa24ff4b229dc93c1767d41a8b7d172 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Wed, 18 Sep 2024 20:06:27 +0800 Subject: [PATCH] I hate windows --- .github/workflows/release_build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index bb1c5b5..db642f2 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -70,14 +70,14 @@ jobs: run: | $VERSION = $Env:GITHUB_REF_NAME.Trim("v") echo $VERSION - echo "VERSION=$VERSION" >> $GITHUB_ENV + "VERSION=$VERSION" >> $env:GITHUB_ENV - name: Upload binaries to release/tag uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} overwrite: true - tag: ${{ VERSION }} + tag: ${{ env.VERSION }} asset_name: choosenim-$tag_windows_amd64.exe file: ${{ runner.workspace }}/choosenim/bin/choosenim.exe @@ -106,14 +106,14 @@ jobs: run: | $VERSION = $Env:GITHUB_REF_NAME.Trim("v") echo $VERSION - echo "VERSION=$VERSION" >> $GITHUB_ENV + "VERSION=$VERSION" >> $env:GITHUB_ENV - name: Upload binaries to release/tag uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} overwrite: true - tag: ${{ VERSION }} + tag: ${{ env.VERSION }} asset_name: choosenim-$tag_windows_amd64.zip file: ${{ runner.workspace }}/choosenim/choosenim-windows.zip