File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ name: Package prism
6
6
env :
7
7
TAR_REPRO_OPTS : ' "--mtime=2024-01-01 00:00 UTC" --sort=name --owner=0 --group=0 --numeric-owner'
8
8
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
10
10
CHECKOUT_DIR : ${{ github.event.repository.name }}-${{ github.ref_name }}
11
11
12
12
on :
13
13
push :
14
14
tags :
15
15
- ' *'
16
16
17
-
17
+
18
18
19
19
jobs :
20
20
vendor-tarball :
@@ -33,10 +33,13 @@ jobs:
33
33
run : npm install $(grep -m1 prism-cli scripts/mock | awk '{print $3}' | sed s/--package=//)
34
34
working-directory : ${{ env.CHECKOUT_DIR }}
35
35
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
+
36
40
- name : Create Archive
37
41
run : tar ${{ env.TAR_REPRO_OPTS }} -caf ${{ env.TAR_NAME }} ${{ env.TAR_FILES }}
38
42
working-directory : ${{ env.CHECKOUT_DIR }}
39
-
40
43
- name : release
41
44
uses : softprops/action-gh-release@v2
42
45
with :
You can’t perform that action at this time.
0 commit comments