Skip to content

Commit

Permalink
fix: pass correct ref
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta committed Aug 3, 2023
1 parent 404b4aa commit 51050f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/extract-fixtures/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ runs:
ref: ${{ steps.github.outputs.action_ref }}
dockerfile: Dockerfile
args: extract-fixtures --directory="$OUTPUT" --merged="$MERGED"
build-args: --build-arg VERSION=${{ github.head_ref || github.ref_name }}
build-args: --build-arg VERSION=${{ steps.github.outputs.action_ref }}
2 changes: 1 addition & 1 deletion .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ runs:
dockerfile: Dockerfile
opts: --network=host
args: test --url="$URL" --json="$JSON" --specs="$SPECS" --subdomain-url="$SUBDOMAIN" -- ${{ inputs.args }}
build-args: --build-arg VERSION=${{ github.head_ref || github.ref_name }}
build-args: --build-arg VERSION=${{ steps.github.outputs.action_ref }}
- name: Create the XML
if: (inputs.xml || inputs.html || inputs.markdown) && (failure() || success())
uses: pl-strflt/gotest-json-to-junit-xml@v1
Expand Down

0 comments on commit 51050f0

Please sign in to comment.