From 06c5010524096c8bc6a2cfb31b8d7ca14e33c1bc Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Thu, 12 Dec 2024 23:48:44 +0100 Subject: [PATCH] Update actions/upload|download-artifact from v3 to v4 (#82) --- .github/workflows/deploy.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 819cb4a..18003b5 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -27,9 +27,9 @@ jobs: file: "keymanager-oapi.json" target: "deploy/releases/${{ matrix.release }}/keymanager-oapi.json" - name: Save releases (artifact) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: releases + name: releases-${{ matrix.release }} retention-days: 7 path: | deploy/releases @@ -47,10 +47,11 @@ jobs: cp -r assets ./deploy cp index.html ./deploy - name: Restore releases - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: releases path: deploy/releases + pattern: releases-* + merge-multiple: true - name: Bundle spec run: "swagger-cli bundle ./keymanager-oapi.yaml -r -t yaml -o ./deploy/keymanager-oapi.yaml" - name: Publish to Github Pages