workflow test
Some checks are pending
Build iso when a new version is pushed / test (push) Waiting to run
Some checks are pending
Build iso when a new version is pushed / test (push) Waiting to run
This commit is contained in:
@ -1,8 +1,20 @@
|
|||||||
name: Build iso when a new version is pushed
|
name: Build iso when a new version is pushed
|
||||||
run-name: iso building
|
run-name: iso building
|
||||||
#on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
runs-on: nixos/nix
|
test:
|
||||||
steps:
|
runs-on: ubuntu-latest
|
||||||
- run: echo coucou
|
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}}'
|
||||||
|
2
Makefile
2
Makefile
@ -18,7 +18,7 @@ home :
|
|||||||
|
|
||||||
iso :
|
iso :
|
||||||
nix build ".#nixosConfigurations.iso.config.system.build.isoImage" $(FLAGS)
|
nix build ".#nixosConfigurations.iso.config.system.build.isoImage" $(FLAGS)
|
||||||
cp result/iso/*.iso .
|
cp result/iso/*.iso nixos.iso
|
||||||
rm -rf result
|
rm -rf result
|
||||||
|
|
||||||
cleanup :
|
cleanup :
|
||||||
|
Reference in New Issue
Block a user