Skip to content

Commit

Permalink
pathogen-repo-build: rename setup-aws-credentials anchor
Browse files Browse the repository at this point in the history
Renamed to `setup-aws-batch-credentials` in preparation for adding
another step that sets up AWS credentials for the runtime.

The new step for setting up runtime AWS credentials probably won't need
an anchor as it should only run once before the build starts. I
just wanted to be specific with the existing anchor name to prevent any
potential confusion.
  • Loading branch information
joverlee521 committed May 16, 2024
1 parent a1fd131 commit 9725367
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pathogen-repo-build.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ jobs:
| "$NEXTSTRAIN_GITHUB_DIR"/bin/json-to-envvars
| tee -a "$GITHUB_ENV"

- &setup-aws-credentials
- &setup-aws-batch-credentials
if: inputs.runtime == 'aws-batch'
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
steps:
# Uses needs.workflow-context.outputs
- *checkout-workflow-support
- *setup-aws-credentials
- *setup-aws-batch-credentials
- *setup-runtime

- id: attach
Expand Down Expand Up @@ -379,7 +379,7 @@ jobs:
steps:
# Uses needs.workflow-context.outputs
- *checkout-workflow-support
- *setup-aws-credentials
- *setup-aws-batch-credentials
- *setup-runtime

- id: cancel
Expand Down

0 comments on commit 9725367

Please sign in to comment.