From 0c416a813e15b54eda5babe6525a92577cc80d19 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Tue, 26 Sep 2023 00:17:10 +0200 Subject: [PATCH] Revert "Merge pull request #57 from nextstrain/ci-workdir-arg" This reverts commit e18552a0acc53d29a9bfb5eaf15bc2aa0680ef11, reversing changes made to 4d6afc489732204931ff527c27a17c3c505dc828. --- .github/workflows/pathogen-repo-ci.yaml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.github/workflows/pathogen-repo-ci.yaml b/.github/workflows/pathogen-repo-ci.yaml index 94039c2..2c51f84 100644 --- a/.github/workflows/pathogen-repo-ci.yaml +++ b/.github/workflows/pathogen-repo-ci.yaml @@ -63,14 +63,6 @@ on: - conda required: false - workflow-root: - description: >- - Path to the root of the workflow folder (e.g. one that contains a Snakefile) to run CI on. - Defaults to the root of the workflow repo. - type: string - default: ${{ github.workspace }} - required: false - artifact-name: description: >- Name to use for build results artifact uploaded at the end of the @@ -236,7 +228,6 @@ jobs: python-version: "3.7" - name: Copy example data - working-directory: ${{ inputs.workflow-root }} run: | if [[ -d example_data ]]; then mkdir -p data/ @@ -246,17 +237,14 @@ jobs: fi - run: nextstrain build . ${{ inputs.build-args }} - working-directory: ${{ inputs.workflow-root }} - if: always() uses: actions/upload-artifact@v3 - env: - workdir: ${{ inputs.workflow-root }} with: name: ${{ inputs.artifact-name }}-${{ matrix.runtime }} path: | - $workdir/auspice/ - $workdir/results/ - $workdir/benchmarks/ - $workdir/logs/ - $workdir/.snakemake/log/ + auspice/ + results/ + benchmarks/ + logs/ + .snakemake/log/