Skip to content

Commit

Permalink
ci: build and release iso images
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Feb 16, 2024
1 parent 2f5ff1f commit ee51d63
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build-isos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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: Prepare Environment
uses: ./.github/runners/build-common.yml
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- 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 }}

0 comments on commit ee51d63

Please sign in to comment.