Skip to content

Commit

Permalink
try env
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Jul 26, 2023
1 parent f702ecf commit 48f6d53
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,18 @@ jobs:
run: |
cd release && zip linux-x64.zip hemtt && rm hemtt
- name: Create Release Version
run: |
VERSION=${GITHUB_REF_NAME#v}
echo Version: $VERSION
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Pack for Chocolatey
uses: crazy-max/ghaction-chocolatey@v2
env:
VERSION: ${{ env.GITHUB_REF_NAME }}
with:
args: pack bin/dist/hemtt.nuspec --version ${GITHUB_REF_NAME#v} --outputdirectory release
args: pack bin/dist/hemtt.nuspec --version ${VERSION#v} --outputdirectory release

- name: Zip Windows x64
run: |
Expand Down

0 comments on commit 48f6d53

Please sign in to comment.