Parch Trinity
This commit is contained in:
parent
eeb5b5433e
commit
0237912a35
3 changed files with 19 additions and 19 deletions
33
.github/workflows/build.yaml
vendored
33
.github/workflows/build.yaml
vendored
|
@ -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
|
name: build parchiso per release
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types:
|
types:
|
||||||
- created
|
- created
|
||||||
|
|
||||||
|
env:
|
||||||
|
api_key: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
name: ${{ github.event.repository.name }}
|
||||||
|
release_name: ${{ github.ref_name }}
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
permissions:
|
permissions:
|
||||||
|
@ -15,22 +20,18 @@ jobs:
|
||||||
options: --privileged
|
options: --privileged
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Add Trinity keys
|
|
||||||
run: |
|
|
||||||
pacman-key --recv-keys 8685AD8B
|
|
||||||
- name: Install Packages via Pacman
|
- name: Install Packages via Pacman
|
||||||
run: |
|
run: pacman -Sy; pacman --noconfirm -S git archiso python python-pygithub github-cli reflector p7zip
|
||||||
pacman -Suy --noconfirm --noprogressbar
|
- name: Change Arch docker mirror
|
||||||
pacman -Sy --noconfirm --noprogressbar --needed git archiso python python-pygithub reflector
|
run: reflector -c "US" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
|
||||||
- name: Change pacman mirrors
|
|
||||||
run: |
|
|
||||||
reflector -n 3 --protocol https --save /etc/pacman.d/mirrorlist
|
|
||||||
pacman -Syy
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: mkarchiso -v iso/
|
run: mkarchiso -v iso/
|
||||||
- name: Upload iso to the release
|
- name: Upload iso to the release
|
||||||
env:
|
run: |
|
||||||
API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
cd ./out
|
||||||
REPO_NAME: ${{ github.repository }}
|
mkdir iso_parts
|
||||||
RELEASE_NAME: ${{ github.ref_name }}
|
# split -d -b 2000M "$(ls *.iso)" iso_parts/"$(ls *.iso)"_part
|
||||||
run: python tools/upload_asset.py
|
#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 }}
|
||||||
|
|
|
@ -144,10 +144,9 @@ parch-welcome
|
||||||
#systemutils
|
#systemutils
|
||||||
btop
|
btop
|
||||||
xdg-user-dirs
|
xdg-user-dirs
|
||||||
packagekit-qt5
|
|
||||||
neofetch-git
|
neofetch-git
|
||||||
ttf-dejavu
|
|
||||||
firefox
|
firefox
|
||||||
|
vazirmatn-fonts
|
||||||
|
|
||||||
#parchlinuxstuff
|
#parchlinuxstuff
|
||||||
calamares
|
calamares
|
||||||
|
|
|
@ -34,7 +34,7 @@ Architecture = auto
|
||||||
#NoProgressBar
|
#NoProgressBar
|
||||||
CheckSpace
|
CheckSpace
|
||||||
#VerbosePkgLists
|
#VerbosePkgLists
|
||||||
ParallelDownloads = 5
|
#ParallelDownloads = 5
|
||||||
|
|
||||||
# By default, pacman accepts packages signed by keys that its local keyring
|
# By default, pacman accepts packages signed by keys that its local keyring
|
||||||
# trusts (see pacman-key and its man page), as well as unsigned packages.
|
# trusts (see pacman-key and its man page), as well as unsigned packages.
|
||||||
|
|
Loading…
Add table
Reference in a new issue