Skip to content

Commit

Permalink
ci: fix potential cache problem
Browse files Browse the repository at this point in the history
  • Loading branch information
futrime committed Jan 25, 2024
1 parent fab0e15 commit 6d09bf7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,13 @@ jobs:
with:
xmake-version: latest

- name: Cache XMake
uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/AppData/Local/.xmake
./.xmake
key: ${{ runner.os }}-xmake-${{ github.sha }}
key: xmake-${{ hashFiles('xmake.lua') }}
restore-keys: |
${{ runner.os }}-xmake-
xmake-
- name: Update XMake Repository
run: xmake repo -u
Expand Down

0 comments on commit 6d09bf7

Please sign in to comment.