1 parent 45d8dc2 commit 6426c32Copy full SHA for 6426c32
1 file changed
.github/workflows/test-tar.yml
@@ -36,10 +36,8 @@ jobs:
36
run: npm install $(grep -m1 prism-cli scripts/mock | awk '{print $3}' | sed s/--package=//) --min-release-age=7
37
working-directory: ${{ env.CHECKOUT_DIR }}
38
39
-# The spec is under a BSD license see https://github.com/cloudflare/api-schemas
40
-# upstream fetches this at test time in scripts/mock
41
- - name: fetch cloudflare api spec
42
- run: wget $(yq -r '.openapi_spec_url' .stats.yml) -O cloudflare-spec.yml
+ - name: decode cloudflare api spec
+ run: source <(grep EMBEDDED_SPEC= scripts/mock) && echo ${EMBEDDED_SPEC} | base64 --decode | gunzip -c > cloudflare-spec.yml
43
44
45
- name: Create Archive
0 commit comments