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