diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 79a702d..1819088 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -8,8 +8,10 @@ on: jobs: build: - runs-on: dotnet + runs-on: self-hosted steps: + - uses: actions/checkout@v4 + - name: Restore dependencies run: dotnet restore @@ -22,8 +24,10 @@ jobs: publish-client: needs: build if: github.ref == 'refs/heads/main' - runs-on: dotnet + runs-on: self-hosted steps: + - uses: actions/checkout@v4 + - name: Publish Blazor WASM Client run: dotnet publish src/CalorieTracker.Client -c Release -o /tmp/publish/client @@ -36,8 +40,10 @@ jobs: publish-api: needs: build if: github.ref == 'refs/heads/main' - runs-on: dotnet + runs-on: self-hosted steps: + - uses: actions/checkout@v4 + - name: Publish API run: dotnet publish src/CalorieTracker.Api -c Release -o /tmp/publish/api