Unverified Commit 2590f493 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Update runner labels for PR stats (#54524)

Speeds up our stats generation by swapping out the underlying runner,
previously this took 13+ minutes now it's around 5 minutes.
parent ba0efe97
...@@ -504,21 +504,16 @@ jobs: ...@@ -504,21 +504,16 @@ jobs:
releaseStats: releaseStats:
name: Release Stats name: Release Stats
runs-on: ubuntu-latest runs-on:
- 'self-hosted'
- 'linux'
- 'x64'
- 'metal'
needs: [publishRelease] needs: [publishRelease]
steps: steps:
- name: Setup node - uses: actions/checkout@v3
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true
- uses: actions/cache@v3
timeout-minutes: 5
id: restore-build
with: with:
path: ./* fetch-depth: 25
key: ${{ github.sha }}-${{ github.run_number }}
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
......
...@@ -31,7 +31,11 @@ jobs: ...@@ -31,7 +31,11 @@ jobs:
stats: stats:
name: PR Stats name: PR Stats
needs: build needs: build
runs-on: ubuntu-latest runs-on:
- 'self-hosted'
- 'linux'
- 'x64'
- 'metal'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment