From b1457e21c5ed9ba87e2fa030f1c29b35ae0c98c5 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 3 Oct 2023 21:27:00 +0900 Subject: [PATCH] Test --- .forgejo/workflows/build-iso.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/build-iso.yml b/.forgejo/workflows/build-iso.yml index 77c52d54..16b6f37c 100644 --- a/.forgejo/workflows/build-iso.yml +++ b/.forgejo/workflows/build-iso.yml @@ -36,12 +36,22 @@ jobs: run: | nix --version - - run: echo "The job was automatically triggered by a ${{ github.event_name }} event." - - run: echo "This job is now running on a ${{ runner.os }} server." - - run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - - run: echo "The ${{ github.repository }} repository has been cloned to the runner." - - run: echo "The workflow is now ready to test your code on the runner." - - run: echo "This job's status is ${{ job.status }}." + - name: "Nix build" + run: | + echo "Running Nix Build" + nix \ + --enable-experimental-features flakes \ + --enable-experimental-features nix-command \ + build /workspace/albert/nix#imageConfigurations.nixos-iso-console + echo "Results:" + ls result/iso/ + +# - run: echo "The job was automatically triggered by a ${{ github.event_name }} event." +# - run: echo "This job is now running on a ${{ runner.os }} server." +# - run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." +# - run: echo "The ${{ github.repository }} repository has been cloned to the runner." +# - run: echo "The workflow is now ready to test your code on the runner." +# - run: echo "This job's status is ${{ job.status }}." - if: always() run: rm -rf /.cache