Skip to content

Commit

Permalink
CI: rework release generator
Browse files Browse the repository at this point in the history
  • Loading branch information
42LoCo42 committed Oct 26, 2024
1 parent 5dfbf42 commit 76b947e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: build-guanyin-iso

on:
workflow_dispatch:
push:
tags:
- "guanyin"

permissions:
contents: write

jobs:
main:
Expand All @@ -20,10 +26,8 @@ jobs:
run: nix build -L .#nixosConfigurations.guanyin.config.system.build.isoImage

- name: Release
uses: marvinpinto/action-[email protected]
uses: softprops/action-[email protected]
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "guanyin"
prerelease: false
title: "Guanyin ISO release"
generate_release_notes: true
make_latest: true
files: result/iso/nixos-guanyin-*.iso

0 comments on commit 76b947e

Please sign in to comment.