Set fail if no release created

This commit is contained in:
Luke Tainton 2024-07-16 19:07:38 +01:00
parent e98e11d963
commit b3e30a8185
No known key found for this signature in database

View File

@ -46,6 +46,7 @@ jobs:
body: ${{ steps.tag_version.outputs.changelog }}
generateReleaseNotes: true
- name: Set success flag
- name: Set success/fail flag
id: set_flag
run: echo "success=true" >> "$GITHUB_OUTPUT"
if: steps.changes.outputs.changes == 'true'
run: if test "${{ steps.changes.outputs.changes }}" = "true"; then echo "success=true" >> "$GITHUB_OUTPUT"; else echo "success=false" >> "$GITHUB_OUTPUT"; fi