|
|
|
|
@ -27,7 +27,7 @@ jobs:
@@ -27,7 +27,7 @@ jobs:
|
|
|
|
|
fetch-depth: 0 |
|
|
|
|
- name: Rest Build Reference to SHA |
|
|
|
|
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 }} |
|
|
|
|
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 |
|
|
|
|
- name: Set Up Node |
|
|
|
|
|