Browse Source

Update Sophia.yml

pull/181/head
Dmitry Nefedov 4 years ago
committed by GitHub
parent
commit
73cc5bcf30
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      .github/workflows/Sophia.yml

8
.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

Loading…
Cancel
Save