File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,19 @@ jobs:
58
58
name : Generate Flex testing endpoint
59
59
if : " always() && steps.checkout.outcome == 'success' && github.base_ref == inputs.branch"
60
60
run : |
61
- mkdir .github/flex-endpoint
61
+ mkdir .github/flex-endpoint .github/archived
62
62
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
63
64
git stash
64
65
git switch -c pr
65
66
git switch --orphan flex/pull-${{ github.event.number }}
66
67
git reset --hard -q
67
68
mv .github/flex-endpoint/*.json .
68
69
git add *.json
69
70
git commit -m 'Create Flex endpoint' || true
71
+ mv .github/archived .
72
+ git add archived
73
+ git commit -m 'Create Flex archive' || true
70
74
git push origin -f flex/pull-${{ github.event.number }}
71
75
git switch pr
72
76
git stash pop -q
You can’t perform that action at this time.
0 commit comments