Skip to content

Commit

Permalink
Update runner labels for PR stats (#54524)
Browse files Browse the repository at this point in the history
Speeds up our stats generation by swapping out the underlying runner,
previously this took 13+ minutes now it's around 5 minutes.
  • Loading branch information
ijjk committed Aug 24, 2023
1 parent ba0efe9 commit 2590f49
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/build_and_deploy.yml
Expand Up @@ -504,21 +504,16 @@ jobs:
releaseStats:
name: Release Stats
runs-on: ubuntu-latest
runs-on:
- 'self-hosted'
- 'linux'
- 'x64'
- 'metal'
needs: [publishRelease]
steps:
- name: Setup node
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
- uses: actions/checkout@v3
with:
path: ./*
key: ${{ github.sha }}-${{ github.run_number }}
fetch-depth: 25

- uses: actions/download-artifact@v3
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pull_request_stats.yml
Expand Up @@ -31,7 +31,11 @@ jobs:
stats:
name: PR Stats
needs: build
runs-on: ubuntu-latest
runs-on:
- 'self-hosted'
- 'linux'
- 'x64'
- 'metal'
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 2590f49

Please sign in to comment.