From 3d92d0d4fac8d348258866a6aebc0fca8407852e Mon Sep 17 00:00:00 2001 From: OpenClaw CI Date: Sun, 7 Jun 2026 20:08:47 +0000 Subject: [PATCH] Switch to dotnet runner label, remove container override --- .forgejo/workflows/build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 150f11c..4c63020 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -8,10 +8,8 @@ on: jobs: build: - runs-on: ubuntu-latest - container: mcr.microsoft.com/dotnet/sdk:10.0 + runs-on: dotnet steps: - # No checkout needed — Forgejo Actions auto-clones the repo - name: Restore dependencies run: dotnet restore @@ -24,8 +22,7 @@ jobs: publish: needs: build if: github.ref == 'refs/heads/main' - runs-on: ubuntu-latest - container: mcr.microsoft.com/dotnet/sdk:10.0 + runs-on: dotnet steps: - name: Publish Blazor WASM run: dotnet publish -c Release -o /tmp/publish @@ -35,5 +32,3 @@ jobs: echo "Deploying StellarisIdle Blazor WASM to /srv/web/stellaris.holoshaii.dev/" mkdir -p /srv/web/stellaris.holoshaii.dev cp -r /tmp/publish/wwwroot/* /srv/web/stellaris.holoshaii.dev/ - # Only works if runner runs on same host as web server - # For remote deploy, use rsync/scp instead