Skip to content

Commit 800a5d9

Browse files
committed
Adding condition check
1 parent 3653436 commit 800a5d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: windows-latest
2222

2323
outputs:
24-
has_changed: ${{ github.event_name == 'push' || steps.check_tag.outputs.has_changed }}
24+
should_run: ${{ github.event_name == 'push' || steps.check_tag.outputs.has_changed }}
2525

2626
steps:
2727
- uses: actions/checkout@v2
@@ -40,6 +40,7 @@ jobs:
4040
4141
build:
4242
needs: [check_for_changes]
43+
if: ${{ needs.check_for_changes.outputs.should_run == 'true' }}
4344
runs-on: windows-latest
4445

4546
steps:

0 commit comments

Comments
 (0)