From d5b335b16afb96fce0a45e4a651e5b6d6283d04c Mon Sep 17 00:00:00 2001 From: Vincent Amstoutz Date: Wed, 18 Dec 2024 10:28:17 +0100 Subject: [PATCH] ci: update artifact actions to v4 --- .github/workflows/docker.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 5b9fa724b..ae56173c4 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -198,18 +198,18 @@ jobs: - name: Upload builder metadata if: fromJson(needs.prepare.outputs.push) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: metadata-builder-${{ matrix.variant }} + name: metadata-builder-${{ github.run_id }}-${{ matrix.variant }}-${{ matrix.platform }} path: /tmp/metadata/builder/* if-no-files-found: error retention-days: 1 - name: Upload runner metadata if: fromJson(needs.prepare.outputs.push) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: metadata-runner-${{ matrix.variant }} + name: metadata-runner-${{ github.run_id }}-${{ matrix.variant }}-${{ matrix.platform }} path: /tmp/metadata/runner/* if-no-files-found: error retention-days: 1 @@ -237,10 +237,11 @@ jobs: steps: - name: Download metadata - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: metadata-${{ matrix.target }}-${{ matrix.variant }} + pattern: metadata-${{ matrix.target }}-${{ github.run_id }}-${{ matrix.variant }}-* path: /tmp/metadata + merge-multiple: true - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3