Skip to content

Commit

Permalink
use $VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Sep 18, 2024
1 parent 2b7c856 commit 534027b
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
overwrite: true
tag: ${{ env.VERSION }}
tag: $VERSION
asset_name: choosenim-$tag_windows_amd64.exe
file: ${{ runner.workspace }}/choosenim/bin/choosenim.exe

Expand All @@ -90,14 +90,6 @@ jobs:
- uses: jiro4989/setup-nim-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Check release version
run: |
$VERSION = $Env:GITHUB_REF_NAME.Trim("v")
echo $Env:GITHUB_REF_NAME
echo $VERSION
echo $Env:GITHUB_REF
echo "VERSION=$VERSION" >> $GITHUB_ENV

- name: Build binary
run: |
Expand All @@ -121,7 +113,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
overwrite: true
tag: ${{ env.VERSION }}
tag: $VERSION
asset_name: choosenim-$tag_windows_amd64.zip
file: ${{ runner.workspace }}/choosenim/choosenim-windows.zip

Expand Down

0 comments on commit 534027b

Please sign in to comment.