mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
chore: generate and publish APK checksums for GitHub releases
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user