Skip to content

Commit 830f353

Browse files
committed
Generate archive in test Flex endpoint to allow testing upgrades
1 parent ac1cec6 commit 830f353

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: .github/workflows/callable-qa.yml

+5-1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)