File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 required : true
1111 type : string
1212
13- env :
14- RELEASE_REF : ${{ inputs.tag || github.event.release.tag_name || github.ref_name }}
15-
1613permissions : {}
1714
1815jobs :
2623 - uses : actions/checkout@v6
2724 with :
2825 persist-credentials : false
29- ref : ${{ env.RELEASE_REF }}
26+ ref : ${{ github.event_name == 'workflow_dispatch' && inputs.tag || github.event.release.target_commitish }}
3027 - uses : actions/setup-node@v6
3128 with :
3229 node-version : ' 24.x'
@@ -106,7 +103,7 @@ jobs:
106103 - uses : actions/checkout@v6
107104 with :
108105 persist-credentials : false
109- ref : ${{ env.RELEASE_REF }}
106+ ref : ${{ github.event_name == 'workflow_dispatch' && inputs.tag || github.event.release.target_commitish }}
110107 - uses : actions/setup-node@v6
111108 with :
112109 node-version : ' 24.x'
You can’t perform that action at this time.
0 commit comments