From e60fc003543e61ebcfd86908bf8a07d244de263e Mon Sep 17 00:00:00 2001 From: Rob Giseburt Date: Mon, 18 Nov 2019 17:29:30 -0600 Subject: [PATCH] GitHub action: checkout with submodules, try to cache Tools --- .github/workflows/build_g2.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_g2.yml b/.github/workflows/build_g2.yml index 6fdebc6b..7f2b87fa 100644 --- a/.github/workflows/build_g2.yml +++ b/.github/workflows/build_g2.yml @@ -9,20 +9,31 @@ on: - p-[0-9]+-* jobs: + checkout: + - uses: actions/checkout@v1 + with: + submodules: recursive + - name: Cache Tools + id: cache-tools + uses: actions/cache@v1 + with: + path: Motate/Tools/ + key: ${{ runner.os }}-tools-01 # Change the number to invalidate the tools caches + build_othermill: + needs: checkout name: build for Othermill runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - name: make CONFIG=Othermill working-directory: ./g2core run: make CONFIG=Othermill VERBOSE=2 build_othermill_pro: + needs: checkout name: build for OthermillPro runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - name: make CONFIG=OthermillPro working-directory: ./g2core run: make CONFIG=OthermillPro VERBOSE=2