Skip to content

Commit

Permalink
Add self-hosted runner to the list of available runners
Browse files Browse the repository at this point in the history
  • Loading branch information
jheinzel authored Nov 21, 2024
1 parent f1b5e99 commit d21bcf1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ concurrency:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

test:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]
permissions:
checks: write
pull-requests: write
Expand All @@ -39,7 +39,7 @@ jobs:
run: dotnet test src/TutorBot.Tests/TutorBot.Tests.csproj --no-restore --verbosity normal

build:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
Expand All @@ -66,7 +66,7 @@ jobs:
path: ${{ runner.temp }}/staging/*

publish:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]
needs: build
if: startsWith(github.ref, 'refs/tags/v')
environment: create_release
Expand Down

0 comments on commit d21bcf1

Please sign in to comment.