Dmitry Nefedov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
1 deletions
-
.github/workflows/Sophia.yml
|
|
@ -138,11 +138,17 @@ jobs: |
|
|
|
Copy-Item -Path "Wrapper\*" -Destination $BUILD_DIR -Recurse -Force |
|
|
|
Compress-Archive -Path $BUILD_DIR -DestinationPath $ZIP -Force |
|
|
|
|
|
|
|
- name: SHA256SUM |
|
|
|
run: | |
|
|
|
Get-ChildItem -Path "$PSScriptRoot\*.zip -Force" | ForEach-Object -Process { |
|
|
|
"$($_.Name) $((Get-FileHash -LiteralPath $_.FullName -Algorithm SHA256).Hash)" |
|
|
|
} | Set-Content -Path "$PSScriptRoot\SHA256SUM" -Encoding Default -Force |
|
|
|
|
|
|
|
- name: Upload archives to release |
|
|
|
uses: svenstaro/upload-release-action@master |
|
|
|
with: |
|
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
file: Sophia*.zip |
|
|
|
file: Sophia*.zip, SHA256SUM |
|
|
|
tag: ${{ github.ref }} |
|
|
|
overwrite: true |
|
|
|
file_glob: true |
|
|
|