From 83ee96658f3765c1f97a331e4862e57d36e2f9d8 Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Wed, 18 Dec 2024 11:36:09 +0800 Subject: [PATCH] feat: use self-hosted runner --- .github/workflows/codspeed.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 2c8ad41d..c162660e 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -10,9 +10,14 @@ on: workflow_dispatch: jobs: + get-runner-labels: + name: Get Runner Labels + uses: ./.github/workflows/get-runner-labels.yml + benchmarks: name: Run benchmarks - runs-on: ubuntu-latest + needs: [get-runner-labels] + runs-on: ${{ fromJSON(needs.get-runner-labels.outputs.LINUX_RUNNER_LABELS) }} steps: - uses: "actions/checkout@v4" - uses: "actions/setup-node@v3"