silence apt-get

This commit is contained in:
Daylin Morgan 2024-06-20 11:17:27 -05:00
parent cea8b1a18d
commit 4f174390a8
Signed by: daylin
GPG key ID: 950D13E9719334AD
3 changed files with 14 additions and 27 deletions

View file

@ -41,7 +41,7 @@ runs:
sudo apt-get purge \
--allow-remove-essential \
-qq \
$(non_manifest_packages) &
$(non_manifest_packages) > /dev/null &
fi
wait

View file

@ -3,7 +3,7 @@ name: Build NixOS (on demand)
on:
workflow_dispatch:
inputs:
host:
hosts:
description: 'list of hosts to build'
required: true
default: 'othalan algiz'
@ -14,15 +14,14 @@ on:
workflow_call:
inputs:
host:
hosts:
description: 'list of hosts to build'
required: true
default: 'othalan aligz'
type: string
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.host }}
cancel-in-progress: true
# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.host }}
# cancel-in-progress: true
jobs:
build:
@ -52,10 +51,12 @@ jobs:
- name: Build
run: |
for host in ${{ inputs.host }}; do
cachix watch-exec daylin -- \
oizys build --system-path \
for host in ${{ inputs.hosts }}; do
nix run . \
-- \
build --system-path \
--host "$host" \
--flake . -- \
--flake . \
-- \
--print-build-logs
done

View file

@ -13,20 +13,6 @@ concurrency:
cancel-in-progress: true
jobs:
# checks:
# uses: ./.github/workflows/checks.yml
# secrets: inherit
build:
# needs: checks
strategy:
max-parallel: 1
matrix:
host:
- othalan
# - mannaz
# - algiz
uses: ./.github/workflows/build.yml
with:
host: "${{ matrix.host }}"
secrets: inherit