Skip to content

Commit 6804e51

Browse files
committed
Fix release process
1 parent 5903a3a commit 6804e51

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/build_cmake.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,16 @@ jobs:
207207
uses: actions/download-artifact@v1
208208
with:
209209
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 }}
211214
212215
- name: Download URL
213216
uses: actions/download-artifact@v1
214217
with:
215218
name: upload_url
216-
path: instdir
219+
path: .
217220
- id: set_upload_url
218221
run: |
219222
upload_url=`cat ./upload_url`
@@ -226,6 +229,6 @@ jobs:
226229
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
227230
with:
228231
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

0 commit comments

Comments
 (0)