File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,10 @@ jobs:
44
44
run : ./gradlew assembleDebug
45
45
46
46
- 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
48
48
49
49
- name : Upload APK artifact
50
50
uses : actions/upload-artifact@v4
51
51
with :
52
52
name : app
53
- path : hviewer-${{ github.ref_name }}- debug.apk
53
+ path : hviewer-debug.apk
Original file line number Diff line number Diff line change 5
5
push :
6
6
tags :
7
7
- ' v*.*'
8
- pull_request :
9
- branches :
10
- - main
11
8
12
9
jobs :
13
10
build :
@@ -70,10 +67,15 @@ jobs:
70
67
# excludeTypes: build,chore
71
68
# writeToFile: false
72
69
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
You can’t perform that action at this time.
0 commit comments