Skip to content

Commit

Permalink
Use '==' for string equality.
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Jul 23, 2024
1 parent aed0b9a commit 169595e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
id: tag
shell: bash
run: |
if [ "${GITHUB_REF/refs\/tags\//}" -eq "refs/head/master" ]; then
if [ "${GITHUB_REF/refs\/tags\//}" == "refs/head/master" ]; then
echo "value=$GIT_SHA" >> $GITHUB_OUTPUT
else
echo "value=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 169595e

Please sign in to comment.