Skip to content

Build and Release ISO Images #2

Build and Release ISO Images

Build and Release ISO Images #2

Workflow file for this run

name: Build and Release ISO Images
on:
workflow_dispatch:
schedule:
- cron: "0 3 1,15 * *" # Run on the 1st and 15th of every month at 3:00 AM
jobs:
build-isos:
runs-on: ubuntu-latest
steps:
- name: Maximize Space
uses: easimon/maximize-build-space@v10
with:
overprovision-lvm: true
remove-android: true
remove-dotnet: true
remove-haskell: true
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty
- name: Nix Magic Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build Lilith Iso
shell: bash
run: nix build .#images.lilith -o lilith --print-build-logs
- name: Upload Release Artifacts
run: gh release upload --clobber isos ./lilith/iso/*.iso
env:
GH_TOKEN: ${{ github.token }}