2022-02-04 15:59:57 +00:00
|
|
|
name: "Build personalized bootstrap ISO"
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- develop
|
2023-07-14 11:28:49 +00:00
|
|
|
paths-ignore:
|
|
|
|
- docs/
|
2022-02-04 15:59:57 +00:00
|
|
|
jobs:
|
|
|
|
build-iso:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-04-24 03:32:04 +00:00
|
|
|
- uses: actions/checkout@v3
|
2023-07-14 11:10:35 +00:00
|
|
|
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
|
|
|
- uses: DeterminateSystems/nix-installer-action@v4
|
2022-02-04 15:59:57 +00:00
|
|
|
- name: Build ISO
|
|
|
|
run: |
|
2023-07-14 11:28:49 +00:00
|
|
|
nix build .#images.bootstrap --out-link build-iso-result
|
2022-02-04 15:59:57 +00:00
|
|
|
- name: Create release
|
2022-06-17 04:00:47 +00:00
|
|
|
if: github.ref == 'refs/heads/master'
|
2023-07-14 11:28:49 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
run: |
|
2023-07-14 14:09:39 +00:00
|
|
|
gh release create latest --prerelease --generate-notes build-iso-result/iso/*.iso
|