From 09cd53fd25f73f5e30b54d3af1933e463635093e Mon Sep 17 00:00:00 2001 From: NeilClack Date: Thu, 25 Jun 2026 14:14:51 -0500 Subject: [PATCH] Modify nix build command to print out output paths so we can copy binaries --- .forgejo/workflows/build-dev.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build-dev.yml b/.forgejo/workflows/build-dev.yml index 3f8af66..a6235f4 100644 --- a/.forgejo/workflows/build-dev.yml +++ b/.forgejo/workflows/build-dev.yml @@ -1,5 +1,12 @@ +# This action builds the `dev` branch any time a Pull Request is submitted to dev. +# The purpose of this is two fold: +# - Prevent breaking changes from being merged to dev +# - Automates the building of RadiantWave-Dev which can then be uploaded +# to the Attic server, and the development machines can pull prebuilt +# binaries instead of building everything from source, resulting in faster +# updates, once updates work again that is... on: - push: + pull_request: branches: - dev @@ -14,7 +21,15 @@ jobs: run: | . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh nix build - cp -rL result /home/nclack/builds/RadiantWave-$(date +%Y%m%d-%H%M%S) + echo "Working dir: $(pwd)" + echo "Result symlink: $(readlink -f result)" + find result/ -type f + + # - name: Build + # run: | + # . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh + # nix build + # cp -rL result /home/nclack/builds/RadiantWave-$(date +%Y%m%d-%H%M%S) - name: Upload artifact uses: actions/upload-artifact@v4