Skip to content

Commit df6d399

Browse files
committed
Enable split ABI
1 parent de9d81e commit df6d399

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

.github/workflows/dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
run: ./gradlew assembleDebug
4545

4646
- name: Rename apk
47-
run: mv app/build/outputs/apk/debug/app-universal-debug.apk hviewer-${{ github.ref_name }}-debug.apk
47+
run: mv app/build/outputs/apk/debug/app-universal-debug.apk hviewer-debug.apk
4848

4949
- name: Upload APK artifact
5050
uses: actions/upload-artifact@v4
5151
with:
5252
name: app
53-
path: hviewer-${{ github.ref_name }}-debug.apk
53+
path: hviewer-debug.apk

.github/workflows/release.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
push:
66
tags:
77
- 'v*.*'
8-
pull_request:
9-
branches:
10-
- main
118

129
jobs:
1310
build:
@@ -70,10 +67,15 @@ jobs:
7067
# excludeTypes: build,chore
7168
# writeToFile: false
7269

73-
# - name: Create release
74-
# uses: softprops/action-gh-release@v2
75-
# with:
76-
# body: ChangeLog
77-
# files: "app-release.apk"
78-
# fail_on_unmatched_files: true
79-
# make_latest: true
70+
- name: Create release
71+
uses: softprops/action-gh-release@v2
72+
with:
73+
body: ChangeLog
74+
files: |
75+
hviewer-${{ github.ref_name }}-arm64-v8a-release.apk
76+
hviewer-${{ github.ref_name }}-armeabi-v7a-release.apk
77+
hviewer-${{ github.ref_name }}-universal-release.apk
78+
hviewer-${{ github.ref_name }}-x86-release.apk
79+
hviewer-${{ github.ref_name }}-x86_64-release.apk
80+
fail_on_unmatched_files: true
81+
make_latest: true

0 commit comments

Comments
 (0)