mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Support building a specific SHA on local branch as well
See gh-44204
This commit is contained in:
@@ -27,7 +27,9 @@ 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 }}
|
||||
git update-ref refs/heads/${{ 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
|
||||
|
||||
Reference in New Issue
Block a user