Switch to dotnet runner label, remove container override
Some checks failed
Build & Test / build (push) Failing after 3s
Build & Test / publish (push) Has been skipped

This commit is contained in:
OpenClaw CI 2026-06-07 20:08:47 +00:00
parent 672038d9d3
commit 3d92d0d4fa

View file

@ -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