1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-23 21:56:46 +00:00
This commit is contained in:
Hazel 2023-11-21 18:55:45 +00:00
parent 1f1a430efc
commit b6d7fc95e7

View file

@ -18,12 +18,13 @@ jobs:
submodules: 'recursive'
token: ${{ secrets.GH_RO_PAT }}
- name: check whether submodules exist
run:
run: |
# debug output
echo gh=${{ github.sha }}
echo head=$(git rev-parse HEAD)
echo art=$(git -C art rev-parse HEAD)
echo assets=$(git -C assets rev-parse HEAD)
# checks if HEAD commit hash in submodules is diff from current repo, and therefore exists
test $(git rev-parse HEAD) != $(git -C art rev-parse HEAD)
test $(git rev-parse HEAD) != $(git -C assets rev-parse HEAD)