chore(CI): Only publish iso

This commit is contained in:
DashieTM 2025-09-07 16:38:50 +02:00
parent 0fa45657f0
commit 0bc2c97d69
2 changed files with 32 additions and 30 deletions

View file

@ -1,29 +1,31 @@
# by https://github.com/danth/stylix/blob/master/.github/workflows/docs.yml # by https://github.com/danth/stylix/blob/master/.github/workflows/docs.yml
name: Release name: Release
on: on:
release: release:
types: [created] types: [created]
jobs: jobs:
build: build:
name: Release name: Release
permissions: permissions:
contents: read actions: read
runs-on: ubuntu-latest contents: read
steps: runs-on: ubuntu-latest
- name: Install Nix steps:
uses: DeterminateSystems/nix-installer-action@main - name: Install Nix
with: uses: DeterminateSystems/nix-installer-action@main
github-token: ${{ secrets.GITHUB_TOKEN }} with:
extra-conf: | github-token: ${{ secrets.GITHUB_TOKEN }}
extra-experimental-features = nix-command flakes pipe-operators extra-conf: |
- name: Set up cache extra-experimental-features = nix-command flakes pipe-operators
uses: DeterminateSystems/magic-nix-cache-action@main - name: Set up cache
- name: Build ISO uses: DeterminateSystems/magic-nix-cache-action@main
run: nix build github:${{ github.repository }}/${{ github.sha }}#iso --no-write-lock-file - name: Build ISO
- name: Prepare ISO for upload run: nix build github:${{ github.repository }}/${{ github.sha }}#iso --no-write-lock-file
run: | - name: Prepare ISO for upload
cp -r --dereference --no-preserve=mode,ownership result/ public/ run: |
- name: upload ISO cp -r --dereference --no-preserve=mode,ownership result/iso/DashNix.iso DashNix.iso
uses: softprops/action-gh-release@v1 - name: upload ISO
with: uses: softprops/action-gh-release@v1
path: path/ with:
files: |
DashNix.iso

View file

@ -40,7 +40,7 @@ in {
extraGroups = ["wheel"]; extraGroups = ["wheel"];
}; };
image.baseName = lib.mkForce "Dashnix"; image.baseName = lib.mkForce "DashNix";
programs = { programs = {
hyprland = { hyprland = {