Skip to content

Commit

Permalink
Ensuring that we get the right branch of ats-regression-tests (refs #225
Browse files Browse the repository at this point in the history
).
  • Loading branch information
jd-moulton committed Dec 5, 2023
1 parent 3e9268e commit a18aa1b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ats-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
id: ats_tests_branch
working-directory: src/physics/ats/testing/ats-regression-tests
run: |
echo "ATS_TESTS_BRANCH=$(git ls-remote --heads origin ${GITHUB_REF_NAME} | sed 's/.*refs\/heads\///')" >> $GITHUB_ENV
# This should really be a conditional, if the first test is empty, then fall back to master.
# echo "ATS_TESTS_BRANCH=$(git ls-remote --heads origin ${GITHUB_REF_NAME} | sed 's/.*refs\/heads\///')" >> $GITHUB_ENV
echo "ATS_TESTS_BRANCH=master" >> $GITHUB_ENV
- name: Filter the branch name to generate a tag for Docker
id: tag
run: |
Expand Down

0 comments on commit a18aa1b

Please sign in to comment.