Skip to content

Commit

Permalink
ci: remove prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Nov 13, 2024
1 parent 3a8b9a1 commit b5e9ea0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/actions/docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ runs:
},
"../cargo-cache-registry-cache": {
"target": "/root/.cargo/registry/cache",
"id": "cargo_registry_index"
"id": "cargo_registry_cache"
},
"../cargo-cache-git-db": {
"target": "/root/.cargo/git/db",
"id": "cargo_registry_index"
"id": "cargo_git"
}
}
skip-extraction: ${{ steps.cargo-cache.outputs.cache-hit }}
Expand All @@ -129,17 +129,19 @@ runs:
id: yarn-cache
with:
path: ../yarn-unplugged-cache
# TODO: We should use platform input
key: ${{ inputs.platform }}-yarn-unplugged-${{ hashFiles('yarn.lock') }}
restore-keys: |
- ${{ inputs.platform }}-yarn-unplugged-amd64-
- ${{ inputs.platform }}-yarn-unplugged-
- name: Inject cargo cache into docker
uses: reproducible-containers/[email protected]
with:
cache-map: |
{
"../yarn-unplugged-cache": "/tmp/unplugged"
"../yarn-unplugged-cache": {
"target": "/tmp/unplugged",
"id": "unplugged_${{ inputs.platform.replace('linux/', '') }}"
}
}
skip-extraction: ${{ steps.yarn-cache.outputs.cache-hit }}

Expand Down

0 comments on commit b5e9ea0

Please sign in to comment.