Skip to content

Commit

Permalink
GH-Workflows: Use powershell syntax to correctly set env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
zhad3 committed Mar 10, 2024
1 parent ee59eca commit 33f25aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
echo GIT_REF_TAG=$GIT_REF_TAG
echo INPUT_TAG=$INPUT_TAG
echo VERSION=$VERSION
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "VERSION=$VERSION" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
echo "Checking if the provided VERSION is valid: git rev-parse --verify $VERSION"
git rev-parse --verify "$VERSION"
Expand Down

0 comments on commit 33f25aa

Please sign in to comment.