Switch to self-hosted runner with .NET SDK 10.0 on host
This commit is contained in:
parent
4ec2b43ad4
commit
9494159f0e
1 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue