Skip to content

Commit

Permalink
Fix stale build cache (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdoddanavar authored Oct 26, 2024
1 parent e411966 commit 698d5d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unit-test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/cache@v4
with:
path: build
key: ${{ github.workflow }}-${{ github.event.pull_request.head.sha }}
key: ${{ github.workflow }}-${{ github.sha }}
test-ubuntu:
runs-on: ubuntu-22.04
needs: build-ubuntu
Expand All @@ -36,7 +36,7 @@ jobs:
uses: actions/cache@v4
with:
path: build
key: ${{ github.workflow }}-${{ github.event.pull_request.head.sha }}
key: ${{ github.workflow }}-${{ github.sha }}
- name: Setup python environment
uses: actions/setup-python@v5
with:
Expand All @@ -55,7 +55,7 @@ jobs:
uses: actions/cache@v4
with:
path: build
key: ${{ github.workflow }}-${{ github.event.pull_request.head.sha }}
key: ${{ github.workflow }}-${{ github.sha }}
- name: Setup python environment
uses: actions/setup-python@v5
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/cache@v4
with:
path: build
key: ${{ github.workflow }}-${{ github.event.pull_request.head.sha }}
key: ${{ github.workflow }}-${{ github.sha }}
test-windows:
runs-on: windows-2022
defaults:
Expand All @@ -42,7 +42,7 @@ jobs:
uses: actions/cache@v4
with:
path: build
key: ${{ github.workflow }}-${{ github.event.pull_request.head.sha }}
key: ${{ github.workflow }}-${{ github.sha }}
- name: Setup python environment
uses: actions/setup-python@v5
with:
Expand All @@ -64,7 +64,7 @@ jobs:
uses: actions/cache@v4
with:
path: build
key: ${{ github.workflow }}-${{ github.event.pull_request.head.sha }}
key: ${{ github.workflow }}-${{ github.sha }}
- name: Setup python environment
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit 698d5d5

Please sign in to comment.