Fix action

This commit is contained in:
adrinr 2023-04-17 20:01:20 +01:00
parent 03a5eef593
commit 307587c982
1 changed files with 19 additions and 2 deletions

View File

@ -102,7 +102,16 @@ jobs:
echo "Current commit is not part of main branch" >&2 echo "Current commit is not part of main branch" >&2
exit 1 exit 1
fi fi
- name: Check submodule working
check-pro-submodule-working:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Check submodule
run: | run: |
cd packages/pro cd packages/pro
git fetch git fetch
@ -112,7 +121,15 @@ jobs:
exit 1 exit 1
fi fi
- name: Check submodule failing check-pro-submodule-failing:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Check submodule
run: | run: |
cd packages/pro cd packages/pro
git fetch git fetch