Skip to content

Commit

Permalink
Revert "Merge pull request #57 from nextstrain/ci-workdir-arg"
Browse files Browse the repository at this point in the history
This reverts commit e18552a, reversing
changes made to 4d6afc4.
  • Loading branch information
corneliusroemer committed Sep 25, 2023
1 parent a4d07ee commit 0c416a8
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/pathogen-repo-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/
Expand All @@ -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/

0 comments on commit 0c416a8

Please sign in to comment.