]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
ci: don't run virustotal scan if key is missing
authortobtoht <tob@featherwallet.org>
Thu, 17 Oct 2024 11:38:58 +0000 (13:38 +0200)
committertobtoht <tob@featherwallet.org>
Thu, 17 Oct 2024 11:38:58 +0000 (13:38 +0200)
.github/workflows/guix.yml

index d6221bbf30453cdacb85001ff68a132b499aa5c2..f0e68463154c67afe5817da75c72e7bea58687dc 100644 (file)
@@ -60,7 +60,7 @@ jobs:
       - name: build
         run: SUBSTITUTE_URLS='http://bordeaux.guix.gnu.org' HOSTS="${{ matrix.toolchain.target }}" ./contrib/guix/guix-build
       - name: virustotal scan
-        if: matrix.toolchain.target == 'x86_64-w64-mingw32'
+        if: matrix.toolchain.target == 'x86_64-w64-mingw32' && secrets.VT_API_KEY != ''
         uses: crazy-max/ghaction-virustotal@v4
         with:
           vt_api_key: ${{ secrets.VT_API_KEY }}