Skip to content

Commit 1509c7d

Browse files
roryabrahamOSBotify
authored andcommitted
Merge pull request #20096 from Expensify/andrew-large-runner-label
Try to use `labels:` to get large runner to start (cherry picked from commit e36ec37)
1 parent 72c95b1 commit 1509c7d

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/scripts/validateActionsAndWorkflows.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ else
8686
fi
8787

8888
info 'Linting workflows...'
89-
./actionlint -color || EXIT_CODE=1
89+
./actionlint -color -ignore '"runs-on" section must be sequence node but got mapping node with "!!map" tag' || EXIT_CODE=1
9090
if [[ "$EXIT_CODE" == 0 ]]; then
9191
success 'Workflows passed actionlint!'
9292
fi

.github/workflows/platformDeploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
name: Build and deploy Android
3030
needs: validateActor
3131
if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) }}
32-
runs-on: ubuntu-latest-16-cores
32+
runs-on:
33+
labels: ubuntu-latest-16-cores
3334
steps:
3435
# This action checks-out the repository, so the workflow can access it.
3536
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
@@ -239,7 +240,8 @@ jobs:
239240
name: Build and deploy Web
240241
needs: validateActor
241242
if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) }}
242-
runs-on: ubuntu-latest-16-cores
243+
runs-on:
244+
labels: ubuntu-latest-16-cores
243245
steps:
244246
# This action checks-out the repository, so the workflow can access it.
245247
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

.github/workflows/testBuild.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
name: Build and deploy Android for testing
6363
needs: [validateActor, getBranchRef]
6464
if: ${{ fromJSON(needs.validateActor.outputs.READY_TO_BUILD) }}
65-
runs-on: ubuntu-latest-16-cores
65+
runs-on:
66+
labels: ubuntu-latest-16-cores
6667
env:
6768
PULL_REQUEST_NUMBER: ${{ github.event.number || github.event.inputs.PULL_REQUEST_NUMBER }}
6869
steps:
@@ -232,7 +233,8 @@ jobs:
232233
if: ${{ fromJSON(needs.validateActor.outputs.READY_TO_BUILD) }}
233234
env:
234235
PULL_REQUEST_NUMBER: ${{ github.event.number || github.event.inputs.PULL_REQUEST_NUMBER }}
235-
runs-on: ubuntu-latest-16-cores
236+
runs-on:
237+
labels: ubuntu-latest-16-cores
236238
steps:
237239
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
238240
with:

0 commit comments

Comments
 (0)