mirror of
https://github.com/netchx/netch.git
synced 2026-03-14 17:43:18 +08:00
[GitHub CI] Fuck VirusTotal
This commit is contained in:
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user