mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
31 lines
890 B
YAML
31 lines
890 B
YAML
|
name: "Build personalized bootstrap ISO"
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
- develop
|
||
|
jobs:
|
||
|
build-iso:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: cachix/install-nix-action@v16
|
||
|
with:
|
||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||
|
- name: Build ISO
|
||
|
id: build-iso
|
||
|
# TODO: Use the registry.
|
||
|
run: |
|
||
|
nix run github:nix-community/nixos-generators/296067b9c7a172d294831dec89d86847f30a7cfc -- --flake .#bootstrap --format iso --out-link result
|
||
|
- name: Create release
|
||
|
id: create-release
|
||
|
uses: marvinpinto/action-automatic-releases@v1.2.1
|
||
|
with:
|
||
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||
|
automatic_release_tag: latest
|
||
|
prerelease: true
|
||
|
title: Pre-release development
|
||
|
files:
|
||
|
result/iso/bootstrap-*.iso
|
||
|
|