nixos-config/.github/workflows/iso.yml
dependabot[bot] 63436648d1
ci: bump DeterminateSystems/magic-nix-cache-action from 4 to 7 (#26)
Bumps [DeterminateSystems/magic-nix-cache-action](https://github.com/determinatesystems/magic-nix-cache-action) from 4 to 7.
- [Release notes](https://github.com/determinatesystems/magic-nix-cache-action/releases)
- [Commits](https://github.com/determinatesystems/magic-nix-cache-action/compare/v4...v7)

---
updated-dependencies:
- dependency-name: DeterminateSystems/magic-nix-cache-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>
Co-authored-by: Gabriel Arazas <foodogsquared@foodogsquared.one>
2024-09-21 11:42:12 +00:00

31 lines
886 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@v7
- uses: DeterminateSystems/nix-installer-action@v13
- name: Build ISO
run: |
nix build .#images.${{ matrix.arch }}.bootstrap-install-iso --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