Skip to content

Commit

Permalink
Add key in second job
Browse files Browse the repository at this point in the history
  • Loading branch information
lubnar committed Oct 24, 2024
1 parent 66c267f commit cb790d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-onyx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
cache: true
- name: Setup Golang caches
id: go-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
onyx
Expand Down Expand Up @@ -66,10 +66,11 @@ jobs:
steps:
- name: Setup Golang caches
id: go-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
onyx
key: ${{ runner.os }}-golang-${{ hashFiles('onyx/src/**') }}
restore-keys: |
${{ runner.os }}-golang-
- name: Check
Expand Down

0 comments on commit cb790d3

Please sign in to comment.