From 5e4c4a1ce8f2cc9b44b148c3c436fd75bc6cec6e Mon Sep 17 00:00:00 2001 From: Jover Lee Date: Wed, 18 Oct 2023 16:07:44 -0700 Subject: [PATCH] CI: Use `pathogen-repo-build` workflow Since the `pathogen-repo-ci` workflow does not allow for custom build directories, use the `pathogen-repo-build` workflow instead. --- .github/workflows/ci.yaml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4c99e29b..f4b3e601 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,8 +9,23 @@ on: jobs: pathogen-ci: - # Temporarily use this ref until the commit is merged into the main repo - # PR: https://github.com/nextstrain/.github/pull/62 (opened on 2023-09-27) - uses: nextstrain/.github/.github/workflows/pathogen-repo-ci.yaml@4f3074183d6ab612faed84444eefe08a5ded0c69 + strategy: + matrix: + runtime: [docker, conda] + permissions: + id-token: write + uses: nextstrain/.github/.github/workflows/pathogen-repo-build.yaml@master + secrets: inherit with: - build-dir: phylogenetic + runtime: ${{ matrix.runtime }} + run: | + nextstrain build \ + phylogenetic \ + --configfile profiles/ci/builds.yaml + artifact-name: output-${{ matrix.runtime }} + artifact-paths: | + phylogenetic/auspice/ + phylogenetic/results/ + phylogenetic/benchmarks/ + phylogenetic/logs/ + phylogenetic/.snakemake/log/