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