Skip to content

Commit

Permalink
use self hosted runners (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
rscohn2 committed Nov 2, 2023
1 parent 3717a9a commit ca58c40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
checks:
runs-on: ubuntu-latest
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand All @@ -21,7 +21,7 @@ jobs:
uses: pre-commit/action@v3.0.0

build:
runs-on: ubuntu-latest
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v3
- name: Install ubuntu prerequisites
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
publish_site:
needs: [checks, build]
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
steps:
- name: Checkout gh-pages
uses: actions/checkout@v3
Expand Down

0 comments on commit ca58c40

Please sign in to comment.