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