Browse Source

Update windows.yml

Ray 5 năm trước cách đây
mục cha
commit
0f5b01eb73
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .github/workflows/windows.yml

+ 1 - 1
.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'