Installer workflow: Create ISO instead of build artifact
Some checks failed
CI / Check, build and cache Nix flake (push) Has been cancelled
Installer ISO / Build installer ISO (push) Failing after 2m53s

This commit is contained in:
Jack O'Sullivan 2023-12-05 14:49:54 +00:00
parent 3d7a1b8e6c
commit 173a4ca948

View File

@ -25,10 +25,13 @@ jobs:
login --set-default colony https://nix-cache.nul.ie "${{ secrets.NIX_CACHE_TOKEN }}"
- name: Build installer ISO
id: build
run: |
echo "short_rev=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
nix build .#nixosConfigurations.installer.config.my.buildAs.iso
- name: Upload ISO
uses: actions/upload-artifact@v3
- name: Create release for ISO
uses: https://gitea.com/actions/release-action@main
with:
name: installer-iso
path: result/iso/nixos-installer-devplayer0.iso
title: Installer @ `${{ steps.build.outputs.short_rev }}`
files: |
result/iso/nixos-installer-devplayer0.iso