Fix release assets failing to upload
This commit is contained in:
parent
bc208a700f
commit
f42c8372d2
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user