From 60d4cb8c8763e772087309c19bf439f4f42fcdd1 Mon Sep 17 00:00:00 2001 From: Tom Lin Date: Sun, 23 May 2021 07:39:04 +0100 Subject: [PATCH] Enter ./cpp first before CI tasks, take 2 --- .github/workflows/main.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 173afed..43a036f 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -5,6 +5,9 @@ on: [push, pull_request] jobs: "test_compile_cpp": runs-on: ubuntu-18.04 + defaults: + run: + working-directory: ./cpp steps: - uses: actions/checkout@v2 @@ -15,9 +18,6 @@ jobs: path: compilers key: ${{ runner.os }}-${{ hashFiles('./cpp/ci-prepare-bionic.sh') }} - - name: Prepare compilers - run: cd ./cpp - - name: Prepare compilers if: steps.prepare-compilers.outputs.cache-hit != 'true' run: source ./ci-prepare-bionic.sh ./compilers SETUP true || true