File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,19 @@ jobs:
5858 name : Generate Flex testing endpoint
5959 if : " always() && steps.checkout.outcome == 'success' && github.base_ref == inputs.branch"
6060 run : |
61- mkdir .github/flex-endpoint
61+ mkdir .github/flex-endpoint .github/archived
6262 git ls-tree HEAD */*/* | php .github/recipes-checker-main/run generate:flex-endpoint ${{ github.repository }} ${{ inputs.branch }} flex/pull-${{ github.event.number }} .github/flex-endpoint ${{ inputs.contrib && '--contrib' || '' }}
63+ php .github/recipes-checker-main/run generate:archived-recipes . ${{ inputs.branch }} .github/archived
6364 git stash
6465 git switch -c pr
6566 git switch --orphan flex/pull-${{ github.event.number }}
6667 git reset --hard -q
6768 mv .github/flex-endpoint/*.json .
6869 git add *.json
6970 git commit -m 'Create Flex endpoint' || true
71+ mv .github/archived .
72+ git add archived
73+ git commit -m 'Create Flex archive' || true
7074 git push origin -f flex/pull-${{ github.event.number }}
7175 git switch pr
7276 git stash pop -q
You can’t perform that action at this time.
0 commit comments