Explorar el Código

Update windows.yml

Ray hace 5 años
padre
commit
0f5b01eb73
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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'