Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
chore: generate and publish APK checksums for GitHub releases
Browse files Browse the repository at this point in the history
  • Loading branch information
itsaky committed Jan 5, 2024
1 parent 97c760a commit 9a9f65c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 15 additions & 0 deletions .nyx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9a9f65c

Please sign in to comment.