We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f56b9 commit a5152ffCopy full SHA for a5152ff
.github/workflows/stable.yml
@@ -33,15 +33,21 @@ jobs:
33
echo "$tag"
34
fi
35
done | jq -R -s -c 'split("\n") | map(select(length > 0))')"
36
- echo "tags=${tags}" >> "$GITHUB_OUTPUT"
+
37
+ should_run="$([ "$(echo "$tags" | jq '.|length')" -eq 0 ] && echo false || echo true)"
38
39
+ echo "tags=$tags" >> "$GITHUB_OUTPUT"
40
+ echo "should_run=$should_run" >> "$GITHUB_OUTPUT"
41
env:
42
GH_TOKEN: "${{ steps.app-token.outputs.token }}"
43
outputs:
44
tags: "${{ steps.tags.outputs.tags }}"
45
+ should_run: "${{ steps.tags.outputs.should_run }}"
46
release:
47
runs-on: ubuntu-latest
48
needs:
49
- tags
50
+ if: "${{ needs.tags.outputs.should_run == 'true' }}"
51
strategy:
52
fail-fast: false
53
max-parallel: 1
0 commit comments