mirror of
https://github.com/yuzu-emu/yuzu-multiplayer-dedicated.git
synced 2024-12-11 23:44:24 +01:00
CI: merge digest caches
This commit is contained in:
parent
7535f22b8f
commit
56a58a0c42
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -52,11 +52,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p /tmp/digests
|
mkdir -p /tmp/digests
|
||||||
digest="${{ steps.build.outputs.digest }}"
|
digest="${{ steps.build.outputs.digest }}"
|
||||||
|
cache_name="digests-${{ matrix.platform }}"
|
||||||
|
echo "CACHE_NAME=${cache_name/\//-}" >> $GITHUB_ENV
|
||||||
touch "/tmp/digests/${digest#sha256:}"
|
touch "/tmp/digests/${digest#sha256:}"
|
||||||
- name: Upload digest
|
- name: Upload digest
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: digests
|
name: ${{ env.CACHE_NAME }}
|
||||||
path: /tmp/digests/*
|
path: /tmp/digests/*
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
@ -69,8 +71,9 @@ jobs:
|
|||||||
- name: Download digests
|
- name: Download digests
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: digests
|
pattern: digests-*
|
||||||
path: /tmp/digests
|
path: /tmp/digests
|
||||||
|
merge-multiple: true
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Create Docker Image Label
|
- name: Create Docker Image Label
|
||||||
|
Loading…
Reference in New Issue
Block a user