diff --git a/.github/workflows/vt-scan.yml b/.github/workflows/vt-scan.yml index 1d2f6f0..370ae00 100644 --- a/.github/workflows/vt-scan.yml +++ b/.github/workflows/vt-scan.yml @@ -1,25 +1,21 @@ --- -name: Release: Scan with VT - +name: release on: - release: [published] - + release: + - published jobs: build: runs-on: ubuntu-latest steps: - name: 📦 Checkout uses: actions/checkout@v3 - - name: 📦 Set up Go uses: actions/setup-go@v3 - - name: 📦 Scan PDF files using VT uses: crazy-max/ghaction-virustotal@v3 with: vt_api_key: ${{ secrets.VT_API_KEY }} files: | export/*.pdf - - name: Calculate SHA-256 Hashes run: find . -type f -print0 | xargs -0 sha2