Skip to content

Commit 169595e

Browse files
committedJul 23, 2024··
Use '==' for string equality.
1 parent aed0b9a commit 169595e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
id: tag
3434
shell: bash
3535
run: |
36-
if [ "${GITHUB_REF/refs\/tags\//}" -eq "refs/head/master" ]; then
36+
if [ "${GITHUB_REF/refs\/tags\//}" == "refs/head/master" ]; then
3737
echo "value=$GIT_SHA" >> $GITHUB_OUTPUT
3838
else
3939
echo "value=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)
Please sign in to comment.