mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
[GitHub CI] Update release.yml
This commit is contained in:
committed by
GitHub
parent
99cdcb3e6a
commit
100584b929
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -35,7 +35,13 @@ jobs:
|
||||
run: |
|
||||
7z a -mx9 Netch.7z release
|
||||
7z rn Netch.7z release Netch
|
||||
echo "NETCH_SHA256=$((Get-FileHash Netch.7z -Algorithm SHA256).Hash.ToLower())" | Out-File -Append -Encoding UTF8 -FilePath $Env:GITHUB_ENV
|
||||
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user