[GitHub CI] Fuck VirusTotal

This commit is contained in:
Connection Refused
2021-09-20 23:25:36 +08:00
parent 0ededf6f72
commit 87b6724ae0
3 changed files with 2 additions and 27 deletions

View File

@@ -27,26 +27,6 @@ jobs:
run: |
.\build.ps1 -Configuration Release -OutputPath release
- name: Package
shell: pwsh
run: |
7z a -mx9 Netch.7z release
7z rn Netch.7z release Netch
- name: Checksum
shell: pwsh
run: |
$hash=(Get-FileHash Netch.7z -Algorithm SHA256).Hash.ToLower()
echo "$hash Netch.7z"
echo "NETCH_SHA256=$hash" | Out-File -Append -Encoding UTF8 -FilePath $Env:GITHUB_ENV
- name: VirusTotal
uses: crazy-max/ghaction-virustotal@v2
with:
vt_api_key: ${{ secrets.VIRUSTOTAL }}
files: |
Netch.7z
- name: Upload
uses: actions/upload-artifact@v2
with:

View File

@@ -43,13 +43,6 @@ jobs:
echo "$hash Netch.7z"
echo "NETCH_SHA256=$hash" | Out-File -Append -Encoding UTF8 -FilePath $Env:GITHUB_ENV
- name: VirusTotal
uses: crazy-max/ghaction-virustotal@v2
with:
vt_api_key: ${{ secrets.VIRUSTOTAL }}
files: |
Netch.7z
- name: Release
uses: softprops/action-gh-release@v1
env: