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 16, 2024
1 parent f6de56b commit 0cce211
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 @@ -32,7 +32,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 0cce211

Please sign in to comment.