chore: generate and publish APK checksums for GitHub releases

This commit is contained in:
Akash Yadav
2024-01-06 00:22:08 +05:30
parent 97c760ab32
commit 9a9f65ca96
2 changed files with 20 additions and 0 deletions
+5
View File
@@ -211,6 +211,11 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Generate checksums
run:
md5sum *.apk > CHECKSUMS-md5.txt
sha256sum *.apk > CHECKSUMS-sha256.txt
sha512sum *.apk > CHECKSUMS-sha512.txt
- name: Publish release
run: ./gradlew nyxMake nyxMark nyxPublish publish release --stacktrace
- name: Archive Nyx state file
+15
View File
@@ -29,6 +29,21 @@ releaseAssets:
description: "AndroidIDE {{version}} armeabi-v7a release APK"
path: app-armeabi-v7a-release.apk
type: application/octet-stream
checksums_md5:
fileName: "AndroidIDE-{{version}}-md5-CHECKSUMS.txt"
description: "MD5 Checksums"
path: CHECKSUMS-md5.txt
type: text/plain
checksums_sha256:
fileName: "AndroidIDE-{{version}}-sha256-CHECKSUMS.txt"
description: "SHA-256 Checksums"
path: CHECKSUMS-sha256.txt
type: text/plain
checksums_sha512:
fileName: "AndroidIDE-{{version}}-sha512-CHECKSUMS.txt"
description: "SHA-512 Checksums"
path: CHECKSUMS-sha512.txt
type: text/plain
releaseTypes:
enabled: