Skip to content

Commit 25c3834

Browse files
authored
Fix bug where action fails if there is nothing to update
1 parent 944917d commit 25c3834

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/sync.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969

7070
trigger-publish:
7171
needs: [find-new-versions]
72+
if: ${{ needs.find-new-versions.outputs.missing-versions != '[]' }}
7273
runs-on: ubuntu-latest
7374
permissions:
7475
actions: write # Needed to trigger workflows
@@ -89,4 +90,4 @@ jobs:
8990
"inputs": {
9091
"version": "v${{ matrix.version }}"
9192
}
92-
}'
93+
}'

0 commit comments

Comments
 (0)