dotfiles-guix/.forgejo/workflows/installer.yaml
Freya Murphy 07c67c81a3
Some checks failed
installer / build (push) Failing after 7s
add guix installer workflow
2024-12-13 09:28:17 -05:00

35 lines
793 B
YAML

# title: install
# desc: generate a guix installer image
# adapted from https://github.com/SystemCrafters/guix-installer/
name: installer
on: [push]
jobs:
build:
runs-on: docker
container:
image: ubuntu:latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Guix cache
uses: actions/cache@v4
with:
path: ~/.cache/guix
key: guix-cache-${{ github.sha }}
restore-keys: |
guix-cache
- name: Install Guix
uses: PromyLOPh/guix-install-action@v1.5
- name: Build ISO
run: |
./scripts/build-installer
- name: Save artifact
uses: actions/upload-artifact@v4
with:
name: installer
path: guix-installer-*.iso