From 1fbb3f2e3bf29374d2706f720f65d4025853a89a Mon Sep 17 00:00:00 2001 From: Jover Date: Tue, 5 Sep 2023 13:43:08 -0700 Subject: [PATCH 1/2] setup-nextstrain-cli: allow `nextstrain update` to continue-on-error I missed in https://github.com/nextstrain/.github/pull/48 that the command `nextstrain update` will exit with error for aws-batch and ambient runtimes. Instead of maintaining a list of runtime to run the update command, just allow it to continue-on-error. --- actions/setup-nextstrain-cli/action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/actions/setup-nextstrain-cli/action.yaml b/actions/setup-nextstrain-cli/action.yaml index 9bfbff3..facfa42 100644 --- a/actions/setup-nextstrain-cli/action.yaml +++ b/actions/setup-nextstrain-cli/action.yaml @@ -67,6 +67,7 @@ runs: - run: nextstrain update shell: bash + continue-on-error: true - run: nextstrain version --verbose shell: bash From 768d79a038584a92229ecd2d941c171f0fdfd4e2 Mon Sep 17 00:00:00 2001 From: Jover Date: Tue, 5 Sep 2023 13:48:31 -0700 Subject: [PATCH 2/2] pathogen-repo-ci: Update ref for setup-nextstrain-cli --- .github/workflows/pathogen-repo-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pathogen-repo-ci.yaml b/.github/workflows/pathogen-repo-ci.yaml index 76d1484..89dba83 100644 --- a/.github/workflows/pathogen-repo-ci.yaml +++ b/.github/workflows/pathogen-repo-ci.yaml @@ -221,7 +221,7 @@ jobs: # future changes to setup-nextstrain-cli. # # -trs, 28 April 2022 - - uses: nextstrain/.github/actions/setup-nextstrain-cli@e8e1f3213711d8c4b5022f7c29d3eb8ee3f46b4b + - uses: nextstrain/.github/actions/setup-nextstrain-cli@1fbb3f2e3bf29374d2706f720f65d4025853a89a with: runtime: ${{ matrix.runtime }} # Consider parameterizing the Python version. -trs, 1 April 2022