File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ name: Package prism
66env :
77 TAR_REPRO_OPTS : ' "--mtime=2024-01-01 00:00 UTC" --sort=name --owner=0 --group=0 --numeric-owner'
88 TAR_NAME : ${{ github.event.repository.name }}-${{ github.ref_name }}-prism.tar.gz
9- TAR_FILES : node_modules package.json package-lock.json
9+ TAR_FILES : node_modules package.json package-lock.json cloudflare-spec.yml
1010 CHECKOUT_DIR : ${{ github.event.repository.name }}-${{ github.ref_name }}
1111
1212on :
1313 push :
1414 tags :
1515 - ' *'
1616
17-
17+
1818
1919jobs :
2020 vendor-tarball :
@@ -33,10 +33,13 @@ jobs:
3333 run : npm install $(grep -m1 prism-cli scripts/mock | awk '{print $3}' | sed s/--package=//)
3434 working-directory : ${{ env.CHECKOUT_DIR }}
3535
36+ - name : fetch cloudflare api spec
37+ run : wget $(yq -e '.openapi_spec_url' .stats.yml) -O cloudflare-spec.yml
38+ working-directory : ${{ env.CHECKOUT_DIR }}
39+
3640 - name : Create Archive
3741 run : tar ${{ env.TAR_REPRO_OPTS }} -caf ${{ env.TAR_NAME }} ${{ env.TAR_FILES }}
3842 working-directory : ${{ env.CHECKOUT_DIR }}
39-
4043 - name : release
4144 uses : softprops/action-gh-release@v2
4245 with :
You can’t perform that action at this time.
0 commit comments