Skip to content

Commit 10742a9

Browse files
committed
Attempt to fix always-true check
1 parent 445cfc6 commit 10742a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,9 @@ jobs:
108108
git show-ref --tags --verify --quiet -- "refs/tags/${{ env.PROJECT_VERSION }}" && echo "tagExists=1" >> $GITHUB_OUTPUT || echo "tagExists=0" >> $GITHUB_OUTPUT
109109
git show-ref --tags --verify --quiet -- "refs/tags/${{ env.PROJECT_VERSION }}" && echo "Tag for current version exists" || echo "Tag for current version does not exist"
110110
# If the tag could not be fetched, show a message and abort the job.
111+
# The wonky if logic is a workaround for: https://github.com/actions/runner/issues/1173
111112
- name: Abort if tag exists, or existence check fails
112-
if: steps.tagged.outputs.tagExists
113+
if: ${{ false && steps.tagged.outputs.tagExists }}
113114
run: |
114115
echo "Output of 'tagged' step: ${{ steps.tagged.outputs.tagExists }}"
115116
echo "Failed to check if tag exists."

0 commit comments

Comments
 (0)