From d4ad1440245b02f95f340e4248d948cc35fb5a06 Mon Sep 17 00:00:00 2001 From: Patrick Lewis Date: Sat, 19 Jun 2021 13:47:17 -0700 Subject: [PATCH] chore(CI): workflow updates --- .github/workflows/core-build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/core-build.yml b/.github/workflows/core-build.yml index 87b0d11..79fc89b 100644 --- a/.github/workflows/core-build.yml +++ b/.github/workflows/core-build.yml @@ -1,6 +1,8 @@ name: core-build on: push: + branches: + - 'master' pull_request: jobs: @@ -8,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - compiler: [clang, clang11] + compiler: [clang] runs-on: ubuntu-latest name: ${{ matrix.compiler }} env: @@ -26,7 +28,7 @@ jobs: - name: Cache uses: actions/cache@v2 with: - path: /home/runner/.ccache + path: var/ccache key: ccache:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }} restore-keys: | ccache:${{ matrix.compiler }}:${{ github.ref }}