File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches : [ main ]
66 pull_request :
77 branches : [ main ]
8+ workflow_dispatch :
9+ inputs :
10+ target-ref :
11+ description : Branch, tag, or SHA to test
12+ required : true
13+ default : main
814
915env :
1016 FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : true
1521 with :
1622 runner-env : ubuntu-24.04
1723 platform : linux
24+ checkout-ref : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target-ref || github.ref }}
Original file line number Diff line number Diff line change 55 branches : [ main ]
66 pull_request :
77 branches : [ main ]
8+ workflow_dispatch :
9+ inputs :
10+ target-ref :
11+ description : Branch, tag, or SHA to test
12+ required : true
13+ default : main
814
915env :
1016 FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : true
1521 with :
1622 runner-env : macos-15
1723 platform : mac
24+ checkout-ref : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target-ref || github.ref }}
1825 yarn-args : --network-timeout 100000
Original file line number Diff line number Diff line change 55 branches : [ main ]
66 pull_request :
77 branches : [ main ]
8+ workflow_dispatch :
9+ inputs :
10+ target-ref :
11+ description : Branch, tag, or SHA to test
12+ required : true
13+ default : main
814
915env :
1016 FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : true
1521 with :
1622 runner-env : windows-2025
1723 platform : windows
24+ checkout-ref : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target-ref || github.ref }}
Original file line number Diff line number Diff line change 1111 # Expects 'mac', 'linux', or 'windows'
1212 required : true
1313 type : string
14+ checkout-ref :
15+ required : false
16+ type : string
1417 yarn-args :
1518 type : string
1619
2326
2427 steps :
2528 - uses : actions/checkout@v5
29+ with :
30+ ref : ${{ inputs.checkout-ref }}
2631
2732 - name : Use Node.js 24
2833 uses : actions/setup-node@v4
You can’t perform that action at this time.
0 commit comments