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 \ sudo apt-get purge \
--allow-remove-essential \ --allow-remove-essential \
-qq \ -qq \
$(non_manifest_packages) & $(non_manifest_packages) > /dev/null &
fi fi
wait wait

View file

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

View file

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