From e14b5b8aba5e4a7f8ad8ff46de772d0fdd56315b Mon Sep 17 00:00:00 2001 From: Dan Birman Date: Wed, 1 Nov 2023 11:21:23 -0700 Subject: [PATCH] chore: move update into build script --- .github/workflows/build.yml | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef77098..2f5def9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,24 +8,6 @@ on: merge_group: jobs: - - update-submodule: - name: Update urchin-examples - - runs-on: ubuntu-latest - - steps: - - name: Checkout main branch - uses: actions/checkout@v2 - with: - ref: main # Make sure to use your main branch name here - - - name: Update Submodule - run: | - git submodule update --init --recursive - git submodule update --remote --recursive - working-directory: source/urchin/tutorials/urchin-examples # Replace with the actual path to your submodule - build: name: Build @@ -38,6 +20,12 @@ jobs: with: submodules: 'recursive' + - name: Update Submodule + run: | + git submodule update --init --recursive + git submodule update --remote --recursive + working-directory: source/urchin/tutorials/urchin-examples + - name: Install Pandoc run: | sudo apt-get update