Skip to content

Commit c0b672c

Browse files
authored
[UPDATED] New workflow for release
1 parent 29d9594 commit c0b672c

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

.github/workflows/iso-build.yml

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
options: --privileged
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Set current date as environment variable
2222
run: echo "DATE=`date +'%Y.%m.%d'`" >>$GITHUB_ENV
2323

2424
- name: Synchronise package repositories and install archiso
25-
run: pacman -Syu --noconfirm archiso git archlinux-keyring reflector wget
25+
run: pacman -Syu --noconfirm archiso git archlinux-keyring reflector --needed
2626

2727
- name: Running Reflector
2828
run: |
@@ -33,20 +33,41 @@ jobs:
3333
--latest 5 \
3434
--save /etc/pacman.d/mirrorlist
3535
pacman -Syu
36+
37+
- name: Setting Up Keyring
38+
run: |
39+
pacman-key --init
40+
pacman-key --keyserver keyserver.ubuntu.com -r 280178FA27665D44
41+
pacman-key --lsign-key 280178FA27665D44
42+
pacman-key --keyserver keyserver.ubuntu.com -r 421FFABA41F36DA5
43+
pacman-key --lsign-key 421FFABA41F36DA5
44+
pacman-key --keyserver keyserver.ubuntu.com -r 02F660CD5FA77EBB
45+
pacman-key --lsign-key 02F660CD5FA77EBB
46+
pacman-key --keyserver keyserver.ubuntu.com -r BF4E1E687DD0A534
47+
pacman-key --lsign-key BF4E1E687DD0A534
3648
3749
- name: Building TCET Linux ISO
3850
run: |
51+
ls -al
3952
pacman -Syu
4053
wget https://raw.githubusercontent.com/tcet-opensource/tcet-linux/main/pacman.conf -O /etc/pacman.conf
4154
mkarchiso -v -w ./work -o ./out ./
4255
echo "ISO Built in ./out folder!"
56+
ls -al
57+
58+
- name: Generating Checksum
59+
run: |
60+
ls -al
61+
cd out/
62+
touch checksum
63+
sha256sum *.iso > checksum
64+
ls -al
4365
4466
- name: Release ISO File
4567
uses: ncipollo/release-action@v1
4668
with:
47-
artifacts: "out/*.iso"
69+
artifacts: "out/*.iso,out/checksum"
4870
body: "v2.0.0"
4971
generateReleaseNotes: false
5072
name: "TCET-Linux"
5173
tag: ${{ env.DATE }}
52-

0 commit comments

Comments
 (0)