Switch to self-hosted runner with .NET SDK 10.0 on host
This commit is contained in:
parent
7830d3fa86
commit
76e0173d70
1 changed files with 6 additions and 2 deletions
|
|
@ -8,8 +8,10 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: dotnet
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
|
|
||||||
|
|
@ -22,8 +24,10 @@ jobs:
|
||||||
publish:
|
publish:
|
||||||
needs: build
|
needs: build
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
runs-on: dotnet
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Publish Blazor WASM
|
- name: Publish Blazor WASM
|
||||||
run: dotnet publish -c Release -o /tmp/publish
|
run: dotnet publish -c Release -o /tmp/publish
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue