File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -194,37 +194,6 @@ jobs:
194194 runs-on : ${{ needs.prepare.outputs.build-runs-on }}
195195 steps :
196196
197- - name : Checkout Actions
198- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
199- with :
200- ref : ${{ (github.event_name == 'pull_request' && github.sha) || 'main' }}
201- sparse-checkout : |
202- .github/workflows/
203- sparse-checkout-cone-mode : false
204- # Check out outside of working directory so the source checkout doesn't
205- # remove it.
206- path : workflows
207-
208- # actions/checkout does not support paths outside of the GITHUB_WORKSPACE.
209- # Also, anything that we put inside of GITHUB_WORKSPACE will be overwritten
210- # by future actions/checkout steps. Therefore, in order to checkout the
211- # latest actions from main, we need to first checkout out the actions inside of
212- # GITHUB_WORKSPACE (see previous step), then use actions/checkout to checkout
213- # the code being built and the move the actions from main back into GITHUB_WORKSPACE,
214- # becasue the uses on composite actions only reads workflows from inside GITHUB_WORKSPACE.
215- - shell : bash
216- run : mv workflows ../workflows-main
217-
218- - name : Checkout LLVM
219- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
220- with :
221- ref : ${{ needs.prepare.outputs.ref }}
222-
223- - name : Copy main workflows
224- shell : bash
225- run : |
226- mv ../workflows-main .
227-
228197 - name : Install Ninja
229198 uses : llvm/actions/install-ninja@a1ea791b03c8e61f53a0e66f2f73db283aa0f01e # main
230199
You can’t perform that action at this time.
0 commit comments