File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ runs:
127127 with :
128128 npm-package : ' @google/gemini-cli@${{ inputs.release-version }}'
129129 expected-version : ' ${{ inputs.release-version }}'
130+ ref : ' ${{ steps.release_branch.outputs.BRANCH_NAME }}'
130131
131132 - name : ' 🏷️ Tag release'
132133 uses : ' ./.github/actions/tag-release'
@@ -140,6 +141,7 @@ runs:
140141 with :
141142 npm-package : ' @google/gemini-cli@${{ inputs.npm-tag }}'
142143 expected-version : ' ${{ inputs.release-version }}'
144+ ref : ' ${{ steps.release_branch.outputs.BRANCH_NAME }}'
143145
144146 - name : ' 🎁 Bundle'
145147 working-directory : ' ${{ inputs.working-directory }}'
Original file line number Diff line number Diff line change @@ -9,12 +9,20 @@ inputs:
99 expected-version :
1010 description : ' Expected version'
1111 required : true
12+ ref :
13+ description : ' The branch, tag, or SHA to release from.'
14+ required : false
15+ type : ' string'
16+ default : ' main'
1217
1318runs :
1419 using : ' composite'
1520 steps :
1621 - name : ' Checkout'
1722 uses : ' actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955' # ratchet:actions/checkout@v4
23+ with :
24+ ref : ' ${{ github.event.inputs.ref }}'
25+ fetch-depth : 0
1826
1927 - name : ' Install from NPM'
2028 id : ' npm_install'
Original file line number Diff line number Diff line change 2121 - ' preview'
2222 - ' nightly'
2323 - ' dev'
24+ ref :
25+ description : ' The branch, tag, or SHA to release from.'
26+ required : false
27+ type : ' string'
28+ default : ' main'
2429
2530jobs :
2631 build :
2732 runs-on : ' self-hosted'
2833 steps :
2934 - uses : ' actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
30- - name : ' Run my composite action '
35+ - name : ' Verify release '
3136 uses : ' ./.github/actions/verify-release'
3237 with :
3338 npm-package : ' ${github.event.inputs.npm-package}@${github.event.inputs.channel}'
3439 expected-version : ' ${github.event.inputs.version}'
40+ ref : ' ${github.event.inputs.ref}'
You can’t perform that action at this time.
0 commit comments