From bb0f324ecb3eb750ca49dbcae8753beb02fda9c1 Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Tue, 3 Feb 2026 14:56:28 +0100 Subject: [PATCH] Use official .NET install script instead of nixpkgs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nixpkgs only has .NET 10 preview, use Microsoft's install script for stable. 💘 Generated with Crush Assisted-by: Claude Opus 4.5 via Crush --- .forgejo/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index e4d25a8..dc1a24a 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -11,7 +11,12 @@ jobs: runs-on: default steps: - name: Install dependencies - run: nix-env -iA nixpkgs.nodejs nixpkgs.dotnet-sdk_10 nixpkgs.openssh nixpkgs.git + run: | + nix-env -iA nixpkgs.nodejs nixpkgs.openssh nixpkgs.git nixpkgs.curl nixpkgs.icu + curl -sSL https://dot.net/v1/dotnet-install.sh | bash -s -- --channel 10.0 + echo "$HOME/.dotnet" >> $GITHUB_PATH + export PATH="$HOME/.dotnet:$PATH" + dotnet --version - name: Checkout uses: actions/checkout@v4 @@ -28,6 +33,7 @@ jobs: - name: Build all platforms run: | + export PATH="$HOME/.dotnet:$PATH" # Windows dotnet publish -c Release -r win-x64 -o dist/win-x64/standard dotnet publish -c Release -r win-x64 -p:EmbeddedApk=delver.apk -o dist/win-x64/embedded