Merge pull request #549 from ente-io/release_workflow

Update github release workflow
This commit is contained in:
Neeraj Gupta 2022-10-03 19:33:49 +05:30 committed by GitHub
commit f7f9c8a5df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,21 +49,19 @@ jobs:
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_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. # Upload generated apk to the artifacts.
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: release-apk name: release-apk
path: build/app/outputs/flutter-apk/ente.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 - uses: actions/upload-artifact@v2
with: with:
name: Release Asset Hashes name: release-checksum
path: release-hash.txt path: build/app/outputs/flutter-apk/checksum
# Create a Github release # Create a Github release
- uses: ncipollo/release-action@v1 - uses: ncipollo/release-action@v1