main
Stealth1226 3 years ago
parent 40e0f82e39
commit bf6bd655b4

@ -0,0 +1,31 @@
name: build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.SECRET_TOKEN }}
container:
image: archlinux:base-devel
options: --privileged
steps:
- name: Build
run: |
pacman -Syu --needed --noconfirm && pacman -S git --needed --noconfirm && git clone https://github.com/Stealth1226/iso/ && cd iso && bash deps.sh && bash build_iso.sh
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Upload
uses: ncipollo/release-action@v1
with:
artifacts: "iso/*.iso"
token: ${{ secrets.SECRET_TOKEN }}
tag: ${{ steps.date.outputs.date }}

@ -25,7 +25,7 @@ gparted
# Things we're hosting
arch-install-scripts
amethyst
ame
base
filesystem
crystal-cli-boot

@ -0,0 +1,4 @@
#! /bin/bash
pacman -Syu --needed --noconfirm
pacman -S archiso pacman-contrib --noconfirm

@ -316,9 +316,9 @@ _make_packages() {
fi
if [[ "${quiet}" = "y" ]]; then
pacstrap -C "${work_dir}/pacman.conf" -c -G -M -- "${airootfs_dir}" "${pkg_list[@]}" &> /dev/null
yes '' | pacstrap -C "${work_dir}/pacman.conf" -c -G -M -- "${airootfs_dir}" "${pkg_list[@]}" &> /dev/null
else
pacstrap -C "${work_dir}/pacman.conf" -c -G -M -- "${airootfs_dir}" "${pkg_list[@]}"
yes '' | pacstrap -C "${work_dir}/pacman.conf" -c -G -M -- "${airootfs_dir}" "${pkg_list[@]}"
fi
if [[ -n "${gpg_key}" ]]; then

Loading…
Cancel
Save