File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,12 @@ jobs:
146146 asset_name : sdk-python-${{ inputs.version }}.zip
147147 asset_content_type : " application/gzip"
148148
149+ - name : " zip api OAS specification release asset"
150+ # Git hub pages needs a single tar called artifact inside the zip.
151+ working-directory : ./artifacts/api-oas-specification-${{ inputs.version }}
152+ run : zip -r ../api-oas-specification-${{ inputs.version }}.zip .
153+ shell : bash
154+
149155 - name : " Upload api OAS specification release asset"
150156 uses : actions/upload-release-asset@v1
151157 env :
@@ -162,6 +168,7 @@ jobs:
162168 publishnpm :
163169 name : " Publish npm packages to npm.pkg.github.com"
164170 runs-on : ubuntu-latest
171+ needs : [publish]
165172 steps :
166173 - name : " Get the artefacts"
167174 uses : actions/download-artifact@v4
@@ -203,7 +210,7 @@ jobs:
203210 success :
204211 name : " Success notification"
205212 runs-on : ubuntu-latest
206- needs : [publish]
213+ needs : [publish,publishnpm ]
207214 steps :
208215 - name : " Check prerequisites for notification"
209216 id : check
You can’t perform that action at this time.
0 commit comments