This commit is contained in:
parent
bd9eab64ec
commit
8768732907
1 changed files with 32 additions and 0 deletions
32
.forgejo/workflows/installer.yaml
Normal file
32
.forgejo/workflows/installer.yaml
Normal file
|
@ -0,0 +1,32 @@
|
|||
# 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: g.freya.cat/freya/guix: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: Build ISO
|
||||
run: |
|
||||
./scripts/build-installer
|
||||
|
||||
- name: Save artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: installer
|
||||
path: guix-installer-*.iso
|
Loading…
Reference in a new issue