chore(CI): workflow updates

This commit is contained in:
Patrick Lewis
2021-06-19 13:47:17 -07:00
parent 29c13bb238
commit d4ad144024

View File

@@ -1,6 +1,8 @@
name: core-build name: core-build
on: on:
push: push:
branches:
- 'master'
pull_request: pull_request:
jobs: jobs:
@@ -8,7 +10,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
compiler: [clang, clang11] compiler: [clang]
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: ${{ matrix.compiler }} name: ${{ matrix.compiler }}
env: env:
@@ -26,7 +28,7 @@ jobs:
- name: Cache - name: Cache
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: /home/runner/.ccache path: var/ccache
key: ccache:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }} key: ccache:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }}
restore-keys: | restore-keys: |
ccache:${{ matrix.compiler }}:${{ github.ref }} ccache:${{ matrix.compiler }}:${{ github.ref }}