From 307587c9823fa25acb044e53c7d96a3e574d5dfa Mon Sep 17 00:00:00 2001 From: adrinr Date: Mon, 17 Apr 2023 20:01:20 +0100 Subject: [PATCH] Fix action --- .github/workflows/budibase_ci.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index ae0fb0738b..682ddbd1c0 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -102,7 +102,16 @@ jobs: echo "Current commit is not part of main branch" >&2 exit 1 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: | cd packages/pro git fetch @@ -112,7 +121,15 @@ jobs: exit 1 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: | cd packages/pro git fetch