From 7e9bd04422b8f67ee256b5796bc9b4dfa4678f2c Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Thu, 12 Dec 2024 23:48:35 +0100 Subject: [PATCH] Update actions/upload|download-artifact from v3 to v4 (#487) --- .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 2707a99f..7a0bfa15 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -27,9 +27,9 @@ jobs: file: "beacon-node-oapi.json" target: "deploy/releases/${{ matrix.release }}/beacon-node-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 @@ -48,10 +48,11 @@ jobs: cp index.html ./deploy cp validator-flow.md ./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 ./beacon-node-oapi.yaml -r -t yaml -o ./deploy/beacon-node-oapi.yaml" - name: Publish to Github Pages