File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 66 build-refname :
77 description : Enter git refname to build (e.g., 1.0.x).
88 required : false
9+ build-sha :
10+ description : Enter the SHA to build (e.g. 82c97891569821a7f91a77ca074232e0b54ca7a5)
11+ required : false
912 build-version :
1013 description : Enter the version being build (e.g. 1.0.3-SNAPSHOT)
1114 required : false
2225 uses : actions/checkout@v4
2326 with :
2427 fetch-depth : 0
28+ - name : Rest Build Reference to SHA
29+ if : ${{ github.event.inputs.build-refname != '' && github.event.inputs.build-refsha != '' }}
30+ run : git update-ref refs/remotes/origin/${{ github.event.inputs.build-refname }} {{ github.event.inputs.build-sha }}
2531 - name : Fetch Main Branch
2632 run : git fetch origin ${{ github.event.repository.default_branch }}:main
2733 - name : Set Up Node
You can’t perform that action at this time.
0 commit comments