From 16bb97c06cc2138887455396debf0a25c62f8df9 Mon Sep 17 00:00:00 2001
From: Gabriel Arazas <foodogsquared@foodogsquared.one>
Date: Sun, 16 Jul 2023 18:22:14 +0800
Subject: [PATCH] ci: add graphical installer for publishing ISOs

---
 .github/workflows/iso.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/iso.yml b/.github/workflows/iso.yml
index b6f5292e..02d415b0 100644
--- a/.github/workflows/iso.yml
+++ b/.github/workflows/iso.yml
@@ -16,10 +16,11 @@ jobs:
       - name: Build ISO
         run: |
           nix build .#images.bootstrap --out-link build-iso-result
+          nix build .#images.graphical-installer --out-link build-graphical-iso-result
       - name: Create release
         if: github.ref == 'refs/heads/master'
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         run: |
           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