From 925284b0dcc94fa4db7ebcd199743ecce3abfcc6 Mon Sep 17 00:00:00 2001 From: tomoron Date: Mon, 24 Mar 2025 19:00:12 +0100 Subject: [PATCH] workflow test --- .gitea/workflows/default.yaml | 20 ++++++++++++++++---- Makefile | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/default.yaml b/.gitea/workflows/default.yaml index bafdfde..3f1768a 100644 --- a/.gitea/workflows/default.yaml +++ b/.gitea/workflows/default.yaml @@ -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}}' diff --git a/Makefile b/Makefile index 5ea174d..2b607a5 100644 --- a/Makefile +++ b/Makefile @@ -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 :