Automate Windows and Linux releases with Forgejo Actions
Some checks are pending
Release AstroFrame / packages (push) Waiting to run

This commit is contained in:
Elijah 2026-10-03 19:31:43 -07:00
parent f971c374f8
commit 4e6d21de5a
9 changed files with 277 additions and 24 deletions

View file

@ -6,7 +6,7 @@ $env:NUGET_PACKAGES=Join-Path $PSScriptRoot '.tools/packages'
$env:DOTNET_CLI_TELEMETRY_OPTOUT='1'
New-Item -ItemType Directory -Force '.tools/feed' | Out-Null
$sdk=Join-Path $PSScriptRoot '.tools/dotnet/dotnet.exe'
if (!(Test-Path $sdk)) { $sdk='dotnet' }
if ([Environment]::OSVersion.Platform -ne [PlatformID]::Win32NT -or !(Test-Path $sdk)) { $sdk='dotnet' }
& $sdk build src/AstroFrame.Desktop -c Release
if ($LASTEXITCODE) { throw 'Build failed' }
& $sdk build tests/AstroFrame.Validation -c Release