@@ -36,19 +36,20 @@ jobs:
36
36
37
37
- name : Building LPoS + KernelSU
38
38
run : |
39
- DEVICE=${{ matrix.device }} ./build.sh -k
39
+ DEVICE=${{ matrix.device }} ./build.sh -k
40
40
41
+ upload :
42
+ runs-on : ubuntu-latest
43
+ needs : build
44
+ steps :
41
45
- name : Upload artifacts
42
46
uses : actions/upload-artifact@v4
43
47
with :
44
48
name : " LPOS_${{ matrix.device }}"
45
49
path : |
46
- out/${{ matrix.device }}/*.zip
47
-
48
- upload :
49
- runs-on : ubuntu-latest
50
- needs : build
51
- steps :
50
+ out/${{ matrix.device }}/LPoS-${{ matrix.device }}-KSU-${{ github.event.inputs.tag }}.tar.zip
51
+ out/${{ matrix.device }}/LPoS-${{ matrix.device }}-${{ github.event.inputs.tag }}.tar.zip
52
+
52
53
- name : Create release
53
54
uses : ncipollo/release-action@v1
54
55
with :
@@ -57,15 +58,19 @@ jobs:
57
58
draft : false
58
59
prerelease : false
59
60
token : ${{ secrets.TOKEN }}
60
- artifacts : out/${{ matrix.device }}/*.zip
61
+ artifacts : |
62
+ out/${{ matrix.device }}/LPoS-${{ matrix.device }}-KSU-${{ github.event.inputs.tag }}.tar.zip
63
+ out/${{ matrix.device }}/LPoS-${{ matrix.device }}-${{ github.event.inputs.tag }}.tar.zip
61
64
body : " Commit SHA: ${{ github.sha }}"
62
65
63
66
- name : Upload to Telegram
64
67
uses : appleboy/telegram-action@master
65
68
with :
66
69
to : ${{ secrets.TELEGRAM_CHAT_ID }}
67
70
token : ${{ secrets.TELEGRAM_BOT_TOKEN }}
68
- document : out/${{ matrix.device }}/*.zip
71
+ document : |
72
+ out/${{ matrix.device }}/LPoS-${{ matrix.device }}-KSU-${{ github.event.inputs.tag }}.tar.zip
73
+ out/${{ matrix.device }}/LPoS-${{ matrix.device }}-${{ github.event.inputs.tag }}.tar.zip
69
74
format : html
70
75
disable_web_page_preview : false
71
76
message : |
0 commit comments