Skip to content

Commit

Permalink
feat: use self-hosted runner for main build
Browse files Browse the repository at this point in the history
goal is to make it faster
  • Loading branch information
lidel committed Aug 8, 2023
1 parent bb6a4b5 commit b6368b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:

jobs:
build:
runs-on: ${{ fromJSON(vars.CI_BUILD_RUNS_ON || '"ubuntu-latest"') }}
runs-on: ${{ fromJSON(vars.CI_BUILD_RUNS_ON || fromJSON(github.repository == 'ipfs/distributions' && '["self-hosted", "linux", "x64", "2xlarge"]' || '"ubuntu-latest"') }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
continue-on-error: true # skip if no releases

persist:
runs-on: "ubuntu-latest"
runs-on: ${{ fromJSON(vars.CI_BUILD_RUNS_ON || fromJSON(github.repository == 'ipfs/distributions' && '["self-hosted", "linux", "x64", "2xlarge"]' || '"ubuntu-latest"') }}
needs: sign-macos
environment: Deploy
steps:
Expand Down

0 comments on commit b6368b2

Please sign in to comment.