Skip to content

Commit

Permalink
chore(ci): fix an issue in docker build cache (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp authored May 27, 2024
1 parent 67b74ce commit 037640e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ jobs:
- name: Cache Go build
uses: actions/cache@v4
with:
enableCrossOsArchive: true
path: |
go-build-platforms
${{ runner.os }}-go_build-platforms
key: ${{ runner.os }}-go_build-platforms
restore-keys: |
${{ runner.os }}-go_build-platforms
Expand All @@ -54,7 +53,7 @@ jobs:
with:
cache-map: |
{
"go-build-platforms": "/root/.cache/go-build"
"${{ runner.os }}-go_build-platforms": "/root/.cache/go-build"
}
skip-extraction: ${{ steps.cache.outputs.cache-hit }}

Expand Down

0 comments on commit 037640e

Please sign in to comment.