Explorar o código

also don't bother upload to av scan, if not published

Armin Schrenk hai 1 ano
pai
achega
c7b8bc89c2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .github/workflows/win-exe.yml

+ 1 - 1
.github/workflows/win-exe.yml

@@ -377,7 +377,7 @@ jobs:
 
   allowlist:
     name: Anti Virus Allowlisting
-    if: startsWith(github.ref, 'refs/tags/')
+    if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'published'
     runs-on: ubuntu-latest
     needs: [build-msi, build-exe]
     steps: