workflow test
Some checks are pending
Build iso when a new version is pushed / test (push) Waiting to run

This commit is contained in:
2025-03-24 19:00:12 +01:00
parent 23933a86fc
commit 925284b0dc
2 changed files with 17 additions and 5 deletions

View File

@ -1,8 +1,20 @@
name: Build iso when a new version is pushed
run-name: iso building
#on: [push]
on: [push]
jobs:
runs-on: nixos/nix
steps:
- run: echo coucou
test:
runs-on: ubuntu-latest
steps:
- name: get repo
uses: actions/checkout@v4.2.2
# - uses: https://github.com/cachix/install-nix-action@v31
# - name: create iso image
# run: make iso
- name: create release
uses: https://gitea.com/actions/release-action@main
with:
files: |-
nixos.iso
api_key: '${{secrets.RELEASE_TOKEN}}'

View File

@ -18,7 +18,7 @@ home :
iso :
nix build ".#nixosConfigurations.iso.config.system.build.isoImage" $(FLAGS)
cp result/iso/*.iso .
cp result/iso/*.iso nixos.iso
rm -rf result
cleanup :