From 1a405ca8318d3d4c04f152acc9d50de516890f03 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:27:28 +0000 Subject: [PATCH 1/2] build(deps): bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/pathogen-repo-build.yaml | 2 +- .github/workflows/pathogen-repo-ci.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pathogen-repo-build.yaml b/.github/workflows/pathogen-repo-build.yaml index e0a1faa..fc6299a 100644 --- a/.github/workflows/pathogen-repo-build.yaml +++ b/.github/workflows/pathogen-repo-build.yaml @@ -221,7 +221,7 @@ jobs: > "$GITHUB_STEP_SUMMARY" - if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: if-no-files-found: warn name: ${{ inputs.artifact-name }} diff --git a/.github/workflows/pathogen-repo-ci.yaml b/.github/workflows/pathogen-repo-ci.yaml index 753a4b3..3eb8043 100644 --- a/.github/workflows/pathogen-repo-ci.yaml +++ b/.github/workflows/pathogen-repo-ci.yaml @@ -239,7 +239,7 @@ jobs: - run: nextstrain build . ${{ inputs.build-args }} - if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifact-name }}-${{ matrix.runtime }} path: | From c3c94c055b004b76ba8578940ffc0397c92c97b4 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Mon, 5 Feb 2024 12:50:29 -0800 Subject: [PATCH 2/2] Set artifact-name for multiple invocations of pathogen-repo-ci From the input description: If you're invoking this workflow multiple times from the same calling workflow, you should set this. --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 35b290f..db532cc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,17 +23,20 @@ jobs: # subdirs (i.e. for our new repo layout). # -trs, 30 Jan 2024 repo: nextstrain/ebola + artifact-name: outputs-test-pathogen-repo-ci secrets: inherit test-pathogen-repo-ci-no-example-data: uses: ./.github/workflows/pathogen-repo-ci.yaml with: repo: nextstrain/zika-tutorial + artifact-name: outputs-test-pathogen-repo-ci-no-example-data test-pathogen-repo-ci-failure: uses: ./.github/workflows/pathogen-repo-ci.yaml with: repo: nextstrain/zika-tutorial + artifact-name: outputs-test-pathogen-repo-ci-failure build-args: __BOGUS_BUILD_TARGET__ continue-on-error: true