Skip to content

Commit

Permalink
ci: fix cache key issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Nov 12, 2024
1 parent bda40a7 commit 612c51f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
path: |
~/v
~/.vmodules
key: ${{ matrix.os }}-${{ github.sha }}
key: ${{ runner.os }}-${{ matrix.os }}-${{ github.sha }}

lint:
needs: setup
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
path: |
~/v
~/.vmodules
key: ${{ matrix.os }}-${{ github.sha }}
key: ${{ runner.os }}-${{ matrix.os }}-${{ github.sha }}

test:
needs: setup
Expand All @@ -54,7 +54,7 @@ jobs:
path: |
~/v
~/.vmodules
key: ${{ matrix.os }}-${{ github.sha }}
key: ${{ runner.os }}-${{ matrix.os }}-${{ github.sha }}
fail-on-cache-miss: true
- name: Setup V
run: ~/v/v symlink
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance_compare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
path: |
~/v
~/.vmodules
key: ${{ matrix.os }}-${{ github.sha }}
key: ${{ runner.os }}-${{ matrix.os }}-${{ github.sha }}

compare:
needs: setup
Expand Down

0 comments on commit 612c51f

Please sign in to comment.