From a95add6aa3d9b9872856099c09830e58c9f59572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=BF=B5=E5=90=9B=20Nianjun=20Sun?= Date: Mon, 25 Nov 2024 16:40:02 +0800 Subject: [PATCH] Refactor : refactor the workflow (#33794) --- .github/workflows/nightly-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly-check.yml b/.github/workflows/nightly-check.yml index a3e34d2ad3845..b6979fa55641b 100644 --- a/.github/workflows/nightly-check.yml +++ b/.github/workflows/nightly-check.yml @@ -189,7 +189,7 @@ jobs: if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }} name: Check - OWASP needs: global-environment - runs-on: self-hosted-cluster + runs-on: ${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }} timeout-minutes: 40 steps: - uses: actions/checkout@v4 @@ -213,7 +213,7 @@ jobs: if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }} name: Check - Jacoco needs: global-environment - runs-on: self-hosted-cluster + runs-on: ${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }} timeout-minutes: 80 steps: - uses: actions/checkout@v4