Harden CO-SERVER host build runner

This commit is contained in:
Nomads_Reach
2026-08-17 15:51:56 -04:00
parent 6f1e7d8f99
commit 3353726aef
+8 -5
View File
@@ -11,16 +11,19 @@ on:
- ".github/workflows/host.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Build Avalonia host
runs-on: [self-hosted, Linux, X64]
runs-on: [self-hosted, Linux, X64, co-server]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
persist-credentials: false
- uses: actions/setup-dotnet@v4
# The runner user cannot write to system /usr/share/dotnet; install the
# pinned SDK into a runner-writable, cached path instead.
- uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9
env:
DOTNET_INSTALL_DIR: ${{ runner.tool_cache }}/dotnet
with: