Skip to content

Commit

Permalink
Merge branch 'main' into signal/shallow
Browse files Browse the repository at this point in the history
  • Loading branch information
bennettgoble committed Apr 8, 2024
2 parents 691ef9b + db2adfd commit a4fc7cb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,7 @@ runs:
- name: Determine branch
id: which-branch
shell: bash
run: |
# in real use, 'git branch -r --contains' should produce a single line,
# but our self-tests can emit more than one
branch="$(git branch -r --contains ${{ steps.sha.outputs.long }} | head -n 1)"
echo "branch=${branch#*/}" >> $GITHUB_OUTPUT
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT

- name: Run autobuild
shell: ${{ steps.shell.outputs.shell }}
Expand All @@ -187,6 +183,8 @@ runs:
AUTOBUILD_VARIABLES_FILE: ${{ github.workspace }}/.build-variables/variables
AUTOBUILD_VCS_BRANCH: ${{ steps.which-branch.outputs.branch || github.ref_name }}
AUTOBUILD_VCS_INFO: "true"
AUTOBUILD_VCS_REVISION: ${{ steps.sha.outputs.long }}
AUTOBUILD_VCS_URL: ${{ github.repositoryUrl }}
BUILD_ID: ${{ inputs.build-id }}
CONFIGURATION: ${{ inputs.configuration }}
PLATFORM: ${{ inputs.platform }}
Expand Down

0 comments on commit a4fc7cb

Please sign in to comment.