From: tobtoht Date: Thu, 17 Oct 2024 11:38:58 +0000 (+0200) Subject: ci: don't run virustotal scan if key is missing X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=4330a18464db352e5a9f894f4f0327953d815496;p=gamesguru%2Ffeather.git ci: don't run virustotal scan if key is missing --- diff --git a/.github/workflows/guix.yml b/.github/workflows/guix.yml index d6221bbf..f0e68463 100644 --- a/.github/workflows/guix.yml +++ b/.github/workflows/guix.yml @@ -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 }}