ci: add graphical installer for publishing ISOs

This commit is contained in:
Gabriel Arazas 2023-07-16 18:22:14 +08:00
parent bc3d03ce9e
commit 16bb97c06c
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -16,10 +16,11 @@ jobs:
- name: Build ISO - name: Build ISO
run: | run: |
nix build .#images.bootstrap --out-link build-iso-result nix build .#images.bootstrap --out-link build-iso-result
nix build .#images.graphical-installer --out-link build-graphical-iso-result
- name: Create release - name: Create release
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
gh release delete latest --cleanup-tag --yes || true gh release delete latest --cleanup-tag --yes || true
gh release create latest --prerelease --generate-notes build-iso-result/iso/*.iso gh release create latest --prerelease --generate-notes build-iso-result/iso/*.iso build-graphical-iso-result/iso/*.iso