Installer workflow: Create ISO instead of build artifact
This commit is contained in:
parent
3d7a1b8e6c
commit
173a4ca948
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user