mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
e13daf9ebf
Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 4 to 5. - [Release notes](https://github.com/determinatesystems/nix-installer-action/releases) - [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v4...v5) --- updated-dependencies: - dependency-name: DeterminateSystems/nix-installer-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
31 lines
873 B
YAML
31 lines
873 B
YAML
name: "Build personalized bootstrap ISO"
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- docs/
|
|
jobs:
|
|
build-iso:
|
|
strategy:
|
|
matrix:
|
|
arch:
|
|
- "x86_64-linux"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
|
- uses: DeterminateSystems/nix-installer-action@v5
|
|
- name: Build ISO
|
|
run: |
|
|
nix build .#images.${{ matrix.arch }}.bootstrap --impure --out-link build-iso-result
|
|
env:
|
|
NIXPKGS_ALLOW_BROKEN: "1"
|
|
NIXPKGS_ALLOW_UNFREE: "1"
|
|
- name: Create release
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
gh release delete latest --cleanup-tag --yes || true
|
|
gh release create latest --prerelease --generate-notes build-iso-result/iso/*.iso
|