Read versions.json from local directory

This commit is contained in:
Nicolas Grekas
2021-10-15 16:18:57 +02:00
parent 0608b6b971
commit cd0aced364
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
name: Update Flex endpoint
run: |
mkdir .github/flex-endpoint
git ls-tree HEAD */*/* | php .github/recipes-checker-main/run generate:flex-endpoint ${{ github.repository }} master flex/main .github/flex-endpoint
git ls-tree HEAD */*/* | php .github/recipes-checker-main/run generate:flex-endpoint ${{ github.repository }} master flex/main .github/flex-endpoint .github/versions.json
git switch flex/main
git rm -q *.json
mv .github/flex-endpoint/*.json .