Skip to content

Commit

Permalink
add release if github.event_name == 'workflow_dispatch'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 authored and SevInf committed Jul 10, 2024
1 parent 80b70bb commit cff1cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-engines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
- name: Release is necessary!
# https://github.com/peter-evans/find-comment/tree/v3/?tab=readme-ov-file#outputs
# Tip: Empty strings evaluate to zero in GitHub Actions expressions. e.g. If comment-id is an empty string steps.fc.outputs.comment-id == 0 evaluates to true.
if: github.event_name == 'push' || steps.check-comments.outputs.comment-id != 0 || steps.check-pr-description.outputs.release == 'true'
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || steps.check-comments.outputs.comment-id != 0 || steps.check-pr-description.outputs.release == 'true'
id: decision
env:
EVENT_NAME: ${{ github.event_name }}
Expand Down

0 comments on commit cff1cc7

Please sign in to comment.