synced source with latest profile

This commit is contained in:
Sohrab Behdani 2024-03-14 18:19:32 +03:30
parent fae5a3735a
commit 665d916d3b
3 changed files with 20 additions and 16 deletions

View file

@ -1,10 +1,15 @@
# This workflow will build an Arch Linux ISO file when a release is created.
# This workflow will build an Arch Linux ISO file with the commit on it
name: build parchiso per release
on:
release:
types:
- created
env:
api_key: ${{ secrets.GITHUB_TOKEN }}
name: ${{ github.event.repository.name }}
release_name: ${{ github.ref_name }}
GH_TOKEN: ${{ github.token }}
jobs:
build:
permissions:
@ -16,18 +21,17 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Packages via Pacman
run: |
pacman -Suy --noconfirm --noprogressbar
pacman -Sy --noconfirm --noprogressbar --needed git archiso python python-pygithub reflector
- name: Change pacman mirrors
run: |
reflector -n 3 --protocol https --save /etc/pacman.d/mirrorlist
pacman -Syy
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
run: mkarchiso -v iso/
- name: Upload iso to the release
env:
API_KEY: ${{ secrets.GITHUB_TOKEN }}
REPO_NAME: ${{ github.repository }}
RELEASE_NAME: ${{ github.ref_name }}
run: python tools/upload_asset.py
run: |
cd ./out
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

@ -120,6 +120,7 @@ vim
virtualbox-guest-utils-nox
vpnc
which
boost
wireless-regdb
wireless_tools
wpa_supplicant
@ -141,7 +142,6 @@ sddm
#Desktop
parch-dwm-dots
dmscripts-git
dmenu
kitty
volumeicon
@ -176,7 +176,6 @@ btop
xdg-user-dirs
packagekit-qt5
neofetch-git
ttf-ms-fonts
parch-firefox-config
vazirmatn-fonts
ttf-joypixels
@ -184,7 +183,7 @@ parch-wm-calamares
#parchlinuxstuff
calamares
parchlinux-cala-config
calamares-parch
os-prober
paru
parch-branding
@ -193,3 +192,4 @@ parch-os-wallpapers
parch-emoji-ios
bash-completion
iranian-fonts
parch-grub

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 KiB

After

Width:  |  Height:  |  Size: 181 KiB