File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -207,13 +207,16 @@ jobs:
207
207
uses : actions/download-artifact@v1
208
208
with :
209
209
name : ${{ matrix.config.artifact }}
210
- path : instdir
210
+ path : ${{ matrix.config.artifact }}
211
+ - name : Repack artifact
212
+ run : |
213
+ zip -r ${{ matrix.config.artifact }}.zip ${{ matrix.config.artifact }}
211
214
212
215
- name : Download URL
213
216
uses : actions/download-artifact@v1
214
217
with :
215
218
name : upload_url
216
- path : instdir
219
+ path : .
217
220
- id : set_upload_url
218
221
run : |
219
222
upload_url=`cat ./upload_url`
@@ -226,6 +229,6 @@ jobs:
226
229
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
227
230
with :
228
231
upload_url : ${{ steps.set_upload_url.outputs.upload_url }}
229
- asset_path : instdir
230
- asset_name : ${{ matrix.config.artifact }}
231
- asset_content_type : application/x-gtar
232
+ asset_path : ${{ matrix.config.artifact }}.zip
233
+ asset_name : ${{ matrix.config.artifact }}.zip
234
+ asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments