Browse Source

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

Armin Schrenk 1 year ago
parent
commit
c7b8bc89c2
1 changed files with 1 additions and 1 deletions
  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: