فهرست منبع

Update windows.yml

Ray 5 سال پیش
والد
کامیت
0f5b01eb73
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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'