Skip to content

Commit

Permalink
CI: Use per-build cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Mar 21, 2024
1 parent 14cdd97 commit 874fa79
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
save: ${{ github.event_name == 'push' }}
key: ${{ github.workflow }}-${{ github.job }}
max-size: "200M"
- name: Configure CPython
run: ./configure --config-cache --with-address-sanitizer --without-pymalloc
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reusable-tsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
save: ${{ github.event_name == 'push' }}
key: ${{ github.workflow }}-${{ github.job }}
max-size: "200M"
- name: Configure CPython
run: ${{ inputs.options }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reusable-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
save: ${{ github.event_name == 'push' }}
key: ${{ github.workflow }}-${{ github.job }}
max-size: "200M"
- name: Setup directory envs for out-of-tree builds
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reusable-wasi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
uses: hendrikmuhs/[email protected]
with:
save: ${{ github.event_name == 'push' }}
key: ${{ github.workflow }}-${{ github.job }}
max-size: "200M"
- name: "Add ccache to PATH"
run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
Expand Down

0 comments on commit 874fa79

Please sign in to comment.