Use official .NET install script instead of nixpkgs
Some checks failed
Build and Release / build (push) Failing after 9s
Some checks failed
Build and Release / build (push) Failing after 9s
nixpkgs only has .NET 10 preview, use Microsoft's install script for stable.
💘 Generated with Crush
Assisted-by: Claude Opus 4.5 via Crush <crush@charm.land>
This commit is contained in:
parent
30101da89c
commit
bb0f324ecb
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue