File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,16 @@ permissions:
1313jobs :
1414 update-submodule :
1515 runs-on : ubuntu-latest
16+ outputs :
17+ changed : ${{ steps.changecheck.outputs.changed }}
1618 steps :
1719 - uses : actions/checkout@v4
1820 with :
1921 submodules : recursive
2022 token : ${{ secrets.GH_TOKEN }}
2123
2224 - name : Update registry submodule
25+ id : changecheck
2326 run : |
2427 git submodule update --remote --merge src/registry
2528 if [[ -n "$(git status --porcelain)" ]]; then
3235 else
3336 echo "changed=false" >> $GITHUB_OUTPUT
3437 fi
35- id : changecheck
3638
3739 build :
3840 needs : update-submodule
6163
6264 deploy :
6365 needs : build
66+ if : needs.update-submodule.outputs.changed == 'true'
6467 runs-on : ubuntu-latest
6568 environment :
6669 name : github-pages
You can’t perform that action at this time.
0 commit comments