mirror of
https://git.chinosk6.cn/chinosk/gkms-local.git
synced 2026-02-04 00:54:51 +00:00
Feature dump more text (#16)
* 修复 Dump 重复判断出错的问题 * 支持 dump 更多 generic 文本 * 支持加载多个 generic json 文件, 增加强制导出资源, 构建排除 `raw` 文件夹 * add version display * update build.yml * update deps * generic 文本支持去标签匹配 * Generic dump 只 dump 分割后的文本 * add sign * update event dispatcher * 增加 generic dump 开关、dump 文件编号调整 * update config.hpp * Add `BaseDefine.h`
This commit is contained in:
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
@@ -24,12 +24,31 @@ jobs:
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '21'
|
||||
|
||||
- name: Write branch and commit info
|
||||
run: |
|
||||
branch=$(git rev-parse --abbrev-ref HEAD)
|
||||
hash=$(git rev-parse --short=8 HEAD)
|
||||
echo "$branch.$hash" > app/src/main/assets/gakumas-local/version.txt
|
||||
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
|
||||
- uses: ilharp/sign-android-release@v1
|
||||
name: Sign app APK
|
||||
id: sign_app
|
||||
with:
|
||||
releaseDir: app/build/outputs/apk/debug
|
||||
signingKey: ${{ secrets.KEYSTOREB64 }}
|
||||
keyAlias: ${{ secrets.ANDROID_KEY_ALIAS }}
|
||||
keyStorePassword: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}
|
||||
keyPassword: ${{ secrets.ANDROID_KEY_PASSWORD }}
|
||||
buildToolsVersion: 33.0.0
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: GakumasLocalify
|
||||
path: app/build/outputs/apk/debug/app-debug.apk
|
||||
path: ${{steps.sign_app.outputs.signedFile}}
|
||||
|
||||
Reference in New Issue
Block a user