Skip to content

Commit

Permalink
ci: don't run virustotal scan if key is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
tobtoht committed Oct 17, 2024
1 parent 849269f commit 4330a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/guix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 4330a18

Please sign in to comment.