Skip to content

Commit b10561f

Browse files
exclude job if no changes were detected (#1091)
1 parent 958f110 commit b10561f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/produce-artifacts.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
do_not_skip: '["workflow_dispatch", "schedule"]'
2929

3030
get_version:
31-
needs: [skip_check]
31+
needs: skip_check
3232
if: needs.skip_check.outputs.should_skip != 'true'
3333
runs-on: ubuntu-22.04
3434
steps:
@@ -53,6 +53,8 @@ jobs:
5353
icloudpd_version: ${{needs.get_version.outputs.icloudpd_version}}
5454

5555
patch_version:
56+
needs: skip_check
57+
if: needs.skip_check.outputs.should_skip != 'true'
5658
uses: ./.github/workflows/patch-version.yml
5759

5860
build_package:

0 commit comments

Comments
 (0)