Update windows.yml

This commit is contained in:
Ray 2020-08-18 14:07:55 +02:00 committed by GitHub
parent 6c9e6cb097
commit 0f5b01eb73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,6 +98,6 @@ jobs:
asset_path: ./build/${{ env.RELEASE_NAME }}.zip asset_path: ./build/${{ env.RELEASE_NAME }}.zip
asset_name: ${{ env.RELEASE_NAME }}.zip asset_name: ${{ env.RELEASE_NAME }}.zip
asset_content_type: application/zip asset_content_type: application/zip
if: release.published == true if: github.event_name == 'release' && github.event.action == 'published'