From 87687329070f2de92f2ee7d378f8c0facacad8c8 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 12 Dec 2024 22:53:10 -0500 Subject: [PATCH] add guix installer workflow --- .forgejo/workflows/installer.yaml | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .forgejo/workflows/installer.yaml diff --git a/.forgejo/workflows/installer.yaml b/.forgejo/workflows/installer.yaml new file mode 100644 index 0000000..3eb0799 --- /dev/null +++ b/.forgejo/workflows/installer.yaml @@ -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