26
26
run : |
27
27
sudo apt update -y
28
28
sudo apt install libssl-dev libncurses5-dev python2 libtinfo5 -y
29
- git clone --depth=1 https://github.com/kdrag0n /proton-clang -b master toolchain
29
+ git clone --depth=1 https://github.com/ghazzor /proton-12 toolchain
30
30
echo "LPOS_KERNEL_VERSION=${{ github.event.inputs.tag }}" >> $GITHUB_ENV
31
31
export PATH=$HOME/:$PWD/toolchain/bin:$PATH
32
32
@@ -49,19 +49,27 @@ jobs:
49
49
upload :
50
50
runs-on : ubuntu-latest
51
51
needs : build
52
+ strategy :
53
+ matrix :
54
+ device : [S10-5G, S10, S10+, S10e]
52
55
steps :
53
56
57
+ - uses : actions/download-artifact@v4
58
+ - name : Display structure of downloaded files
59
+ run : |
60
+ ls
61
+
54
62
- name : Create release
55
63
uses : ncipollo/release-action@v1
56
64
with :
57
- tag : ${{ github.event.inputs.tag }}
58
- name : " LPoS Kernel ${{ github.event.inputs.tag }}"
65
+ tag : ${{ github.event.inputs.tag }}-${{ matrix.device }}
66
+ name : " LPoS Kernel- ${{ github.event.inputs.tag }}"
59
67
draft : false
60
68
prerelease : false
61
69
token : ${{ secrets.TOKEN }}
62
70
artifacts : |
63
- out /LPoS*.zip
64
- out /KSU*.zip
71
+ ${{ matrix.device }} /LPoS*.zip
72
+ ${{ matrix.device }} /KSU*.zip
65
73
body : " Commit SHA: ${{ github.sha }}"
66
74
67
75
- name : Upload to Telegram
@@ -70,14 +78,14 @@ jobs:
70
78
to : ${{ secrets.TELEGRAM_CHAT_ID }}
71
79
token : ${{ secrets.TELEGRAM_BOT_TOKEN }}
72
80
document : |
73
- out /LPoS*.zip
74
- out /KSU*.zip
81
+ ${{ matrix.device }} /LPoS*.zip
82
+ ${{ matrix.device }} /KSU*.zip
75
83
format : html
76
84
disable_web_page_preview : false
77
85
message : |
78
86
<b>New Kernel Build found..! 🎉</b>
79
87
80
- <b>Devices :</b> Universal S10
88
+ <b>Device :</b> ${{ matrix.device }}
81
89
<b>Kernel Version :</b> ${{ github.event.inputs.tag }}
82
90
<b>Repository:</b> <a href="https://github.com/${{ github.repository }}">${{ github.repository }}</a>
83
91
0 commit comments