fix(ci): install dotnet without admin access and preserve public release links
Gitea CI / Check code and tests (pull_request) Successful in 6m21s
Gitea CI / Build Android APK (pull_request) Successful in 4m1s
Gitea CI / Build Windows x64 app (pull_request) Successful in 10m7s
Gitea CI / Assemble and validate CI artifacts (pull_request) Successful in 1m54s
Gitea CI / Gitea CI passed (pull_request) Successful in 2s
Gitea CI / Audit and package Windows x64 (pull_request) Successful in 1m58s

This commit is contained in:
lingjhf committed 2026-10-06 15:07:28 +08:00
1 parent 8e523f0e89
commit 44cb452350
4 files changed
+22 -3

No files matched your search

+6
View File
@@ -148,6 +148,12 @@ jobs:
with:
name: cutdex-windows-app
path: build/windows/x64/production/runner/Release/
- name: Configure user .NET installation
run: |
$directory = Join-Path $env:LOCALAPPDATA 'Cutdex/ci-tools/dotnet'
[IO.Directory]::CreateDirectory($directory) | Out-Null
"DOTNET_INSTALL_DIR=$directory" | Out-File -LiteralPath $env:GITHUB_ENV -Encoding utf8 -Append
"DOTNET_ROOT=$directory" | Out-File -LiteralPath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Set up .NET SDK
uses: https://github.com/actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1
with: