From 4ec2b43ad46ee9a8b7e51beb6f032daed4e2165b Mon Sep 17 00:00:00 2001 From: OpenClaw CI Date: Sun, 7 Jun 2026 20:08:49 +0000 Subject: [PATCH] Switch to dotnet runner label, remove container override --- .forgejo/workflows/build.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 6604213..79a702d 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -8,8 +8,7 @@ on: jobs: build: - runs-on: ubuntu-latest - container: mcr.microsoft.com/dotnet/sdk:10.0 + runs-on: dotnet steps: - name: Restore dependencies run: dotnet restore @@ -23,8 +22,7 @@ jobs: publish-client: 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 Client run: dotnet publish src/CalorieTracker.Client -c Release -o /tmp/publish/client @@ -38,12 +36,8 @@ jobs: publish-api: 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: Checkout - uses: actions/checkout@v4 - - name: Publish API run: dotnet publish src/CalorieTracker.Api -c Release -o /tmp/publish/api @@ -52,5 +46,4 @@ jobs: echo "Deploying CalorieTracker API..." mkdir -p /opt/calorie-tracker cp -r /tmp/publish/api/* /opt/calorie-tracker/ - # Restart API service (if running as systemd) sudo systemctl restart calorie-tracker || echo "API service not yet configured"