mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
ci: don't run virustotal scan if key is missing
This commit is contained in:
@@ -60,7 +60,7 @@ jobs:
|
|||||||
- name: build
|
- name: build
|
||||||
run: SUBSTITUTE_URLS='http://bordeaux.guix.gnu.org' HOSTS="${{ matrix.toolchain.target }}" ./contrib/guix/guix-build
|
run: SUBSTITUTE_URLS='http://bordeaux.guix.gnu.org' HOSTS="${{ matrix.toolchain.target }}" ./contrib/guix/guix-build
|
||||||
- name: virustotal scan
|
- 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
|
uses: crazy-max/ghaction-virustotal@v4
|
||||||
with:
|
with:
|
||||||
vt_api_key: ${{ secrets.VT_API_KEY }}
|
vt_api_key: ${{ secrets.VT_API_KEY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user