Skip to content

Commit 449ec24

Browse files
committed
I'm fed up now
1 parent d25caea commit 449ec24

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/workflows/build.yml

+16-8
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
sudo apt update -y
2828
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
3030
echo "LPOS_KERNEL_VERSION=${{ github.event.inputs.tag }}" >> $GITHUB_ENV
3131
export PATH=$HOME/:$PWD/toolchain/bin:$PATH
3232
@@ -49,19 +49,27 @@ jobs:
4949
upload:
5050
runs-on: ubuntu-latest
5151
needs: build
52+
strategy:
53+
matrix:
54+
device: [S10-5G, S10, S10+, S10e]
5255
steps:
5356

57+
- uses: actions/download-artifact@v4
58+
- name: Display structure of downloaded files
59+
run: |
60+
ls
61+
5462
- name: Create release
5563
uses: ncipollo/release-action@v1
5664
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 }}"
5967
draft: false
6068
prerelease: false
6169
token: ${{ secrets.TOKEN }}
6270
artifacts: |
63-
out/LPoS*.zip
64-
out/KSU*.zip
71+
${{ matrix.device }}/LPoS*.zip
72+
${{ matrix.device }}/KSU*.zip
6573
body: "Commit SHA: ${{ github.sha }}"
6674

6775
- name: Upload to Telegram
@@ -70,14 +78,14 @@ jobs:
7078
to: ${{ secrets.TELEGRAM_CHAT_ID }}
7179
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
7280
document: |
73-
out/LPoS*.zip
74-
out/KSU*.zip
81+
${{ matrix.device }}/LPoS*.zip
82+
${{ matrix.device }}/KSU*.zip
7583
format: html
7684
disable_web_page_preview: false
7785
message: |
7886
<b>New Kernel Build found..! 🎉</b>
7987
80-
<b>Devices :</b> Universal S10
88+
<b>Device :</b> ${{ matrix.device }}
8189
<b>Kernel Version :</b> ${{ github.event.inputs.tag }}
8290
<b>Repository:</b> <a href="https://github.com/${{ github.repository }}">${{ github.repository }}</a>
8391

0 commit comments

Comments
 (0)