From 0f5b01eb73288cadad10323942ef508ed9149a8e Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 18 Aug 2020 14:07:55 +0200 Subject: [PATCH] Update windows.yml --- .github/workflows/windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index fd42c3db3..e409c5fb2 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -98,6 +98,6 @@ jobs: asset_path: ./build/${{ env.RELEASE_NAME }}.zip asset_name: ${{ env.RELEASE_NAME }}.zip asset_content_type: application/zip - if: release.published == true + if: github.event_name == 'release' && github.event.action == 'published'