mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
ci: remove build profiles step
We'll figure that out later.
This commit is contained in:
parent
4cae5c709b
commit
0830f1a5c9
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
@ -24,30 +24,3 @@ jobs:
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- name: Build custom packages
|
||||
run: nix build -f ./pkgs --impure
|
||||
|
||||
build-profiles:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v22
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
extra_nix_config: |
|
||||
keep-going = true
|
||||
- run: |
|
||||
sudo apt clean
|
||||
- name: Prepare push to binary cache
|
||||
uses: cachix/cachix-action@v12
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
with:
|
||||
name: foo-dogsquared
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- name: Build Nix profiles
|
||||
run: |
|
||||
for nixosHost in ni graphical-installer bootstrap; do
|
||||
nix build ".#nixosConfigurations.${nixosHost}.config.system.build.toplevel" --impure
|
||||
done
|
||||
|
||||
for homeManagerConfig in foo-dogsquared; do
|
||||
nix build ".#homeManagerConfigurations.${homeManagerConfig}.activationPackage" --impure
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user