update github release workflow

This commit is contained in:
Neeraj Gupta 2022-10-03 19:31:43 +05:30
parent 4003276630
commit 7db9d529d0
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -49,21 +49,19 @@ jobs:
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
- name: Checksum
run: sha256sum build/app/outputs/flutter-apk/ente.apk > build/app/outputs/flutter-apk/checksum
# Upload generated apk to the artifacts.
- uses: actions/upload-artifact@v2
with:
name: release-apk
path: build/app/outputs/flutter-apk/ente.apk
# Publish hash of the generated artifacts
- uses: MCJack123/ghaction-generate-release-hashes@v3
with:
hash-type: sha256
file-name: release-hash.txt
- uses: actions/upload-artifact@v2
with:
name: Release Asset Hashes
path: release-hash.txt
name: release-checksum
path: build/app/outputs/flutter-apk/checksum
# Create a Github release
- uses: ncipollo/release-action@v1