Fix release assets failing to upload

This commit is contained in:
Tamás Bálint Misius 2022-09-11 07:04:42 +02:00
parent bc208a700f
commit f42c8372d2
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -88,6 +88,7 @@ jobs:
upload_url: ${{ needs.prepare.outputs.release_upload_url }} upload_url: ${{ needs.prepare.outputs.release_upload_url }}
asset_path: build/${{ matrix.asset_path }} asset_path: build/${{ matrix.asset_path }}
asset_name: ${{ matrix.asset_name }} asset_name: ${{ matrix.asset_name }}
asset_content_type: application/zip
- uses: actions/upload-release-asset@v1 - uses: actions/upload-release-asset@v1
if: needs.prepare.outputs.do_release == 'yes' && matrix.publish == 'yes' && matrix.separate_debug == 'yes' if: needs.prepare.outputs.do_release == 'yes' && matrix.publish == 'yes' && matrix.separate_debug == 'yes'
env: env:
@ -96,6 +97,7 @@ jobs:
upload_url: ${{ needs.prepare.outputs.release_upload_url }} upload_url: ${{ needs.prepare.outputs.release_upload_url }}
asset_path: build/${{ matrix.debug_asset_path }} asset_path: build/${{ matrix.debug_asset_path }}
asset_name: ${{ matrix.debug_asset_name }} asset_name: ${{ matrix.debug_asset_name }}
asset_content_type: application/zip
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
if: matrix.artifact == 'yes' if: matrix.artifact == 'yes'
with: with: