Fix support building a specific SHA

See gh-44204
This commit is contained in:
Phillip Webb
2025-12-01 17:27:07 -08:00
parent ec09f96f9b
commit 65007e254a
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
with:
fetch-depth: 0
- name: Rest Build Reference to SHA
if: ${{ github.event.inputs.build-refname != '' && github.event.inputs.build-refsha != '' }}
if: ${{ github.event.inputs.build-refname != '' && github.event.inputs.build-sha != '' }}
run: git update-ref refs/remotes/origin/${{ github.event.inputs.build-refname }} {{ github.event.inputs.build-sha }}
- name: Fetch Main Branch
run: git fetch origin ${{ github.event.repository.default_branch }}:main