diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 542ccbf1..a176c857 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,8 @@ on: jobs: smoke: name: P4 smoke (targeted matrix) - runs-on: ubuntu-latest + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository + runs-on: [self-hosted, Linux, X64, tinyexpression-ci] steps: - uses: actions/checkout@v6 @@ -19,7 +20,6 @@ jobs: with: java-version: '21' distribution: 'temurin' - cache: 'maven' server-id: github-unlaxer server-username: GITHUB_ACTOR server-password: GITHUB_TOKEN @@ -45,7 +45,8 @@ jobs: build: name: Full verify - runs-on: ubuntu-latest + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository + runs-on: [self-hosted, Linux, X64, tinyexpression-ci] needs: smoke steps: @@ -56,7 +57,6 @@ jobs: with: java-version: '21' distribution: 'temurin' - cache: 'maven' server-id: github-unlaxer server-username: GITHUB_ACTOR server-password: GITHUB_TOKEN