fixed template

This commit is contained in:
Sohrab Behdani 2024-03-12 16:32:39 +03:30
parent ceb767c9c9
commit 5c96158a99
2 changed files with 11 additions and 9 deletions

View file

@ -12,6 +12,8 @@ env:
GH_TOKEN: ${{ github.token }}
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
container:
image: archlinux:latest
@ -19,7 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Packages via Pacman
run: pacman -Sy; pacman --noconfirm -S git archiso python python-pygithub github-cli reflector p7zip
run: pacman -Sy; pacman --noconfirm -S git archiso python python-pygithub github-cli reflector p7zip
- name: Change Arch docker mirror
run: reflector -c "US" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
- name: Build image
@ -27,6 +29,9 @@ jobs:
- name: Upload iso to the release
run: |
cd ./out
7z -v500m a "$(ls *.iso)".zip "$(ls *.iso)"
md5sum * > md5sums.txt
gh release upload ${{ github.event.release.tag_name }} * -R ${{ github.repository }}
mkdir iso_parts
# split -d -b 2000M "$(ls *.iso)" iso_parts/"$(ls *.iso)"_part
#zip -s 2000m iso_parts/"$(ls *.iso)".zip "$(ls *.iso)"
7z -v1000m a iso_parts/"$(ls *.iso)".zip "$(ls *.iso)"
md5sum iso_parts/* > iso_parts/md5sums.txt
gh release upload ${{ github.event.release.tag_name }} ./iso_parts/* -R ${{ github.repository }}

View file

@ -145,14 +145,11 @@ btop
xdg-user-dirs
packagekit-qt5
neofetch-git
ttf-ms-fonts
firefox
#parchlinuxstuff
calamares
calamares-parch
#ParchLinux Core Packages
os-prober
paru
parch-emoji-ios
vazirmatn-fonts
parch-branding
parch-pacman