Skip to content

Commit

Permalink
Per #1546, fixed logic to get branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed Jan 20, 2022
1 parent 6de4ac5 commit 0b70c80
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test_compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Get branch name
id: get_branch_name
run: echo ::set-output name=branch_name::${GITHUB_REF#"refs/heads/"}

- name: Compile MET in Docker
run: .github/jobs/build_docker_image.sh
env:
SOURCE_BRANCH: ${GITHUB_REF#"refs/heads/"}
SOURCE_BRANCH: ${{ steps.get_branch_name.outputs.branch_name }}
MET_BASE_IMAGE: minimum

0 comments on commit 0b70c80

Please sign in to comment.