Skip to content

Commit e36ec37

Browse files
authored
Merge pull request #20096 from Expensify/andrew-large-runner-label
Try to use `labels:` to get large runner to start
2 parents 89b7112 + d87ede6 commit e36ec37

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
@@ -84,7 +84,7 @@ else
8484
fi
8585

8686
info 'Linting workflows...'
87-
./actionlint -color || EXIT_CODE=1
87+
./actionlint -color -ignore '"runs-on" section must be sequence node but got mapping node with "!!map" tag' || EXIT_CODE=1
8888
if [[ "$EXIT_CODE" == 0 ]]; then
8989
success 'Workflows passed actionlint!'
9090
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)