From 3014eff07b432c2b43414906d0910956e6623f7a Mon Sep 17 00:00:00 2001 From: Andrew Gable Date: Fri, 2 Jun 2023 14:24:16 -0600 Subject: [PATCH 1/2] Try to use `labels:` to get large runner to start --- .github/workflows/platformDeploy.yml | 6 ++++-- .github/workflows/testBuild.yml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/platformDeploy.yml b/.github/workflows/platformDeploy.yml index b879203f0373..7ef0202dd64e 100644 --- a/.github/workflows/platformDeploy.yml +++ b/.github/workflows/platformDeploy.yml @@ -29,7 +29,8 @@ jobs: name: Build and deploy Android needs: validateActor if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) }} - runs-on: ubuntu-latest-16-cores + runs-on: + labels: ubuntu-latest-16-cores steps: # This action checks-out the repository, so the workflow can access it. - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 @@ -239,7 +240,8 @@ jobs: name: Build and deploy Web needs: validateActor if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) }} - runs-on: ubuntu-latest-16-cores + runs-on: + labels: ubuntu-latest-16-cores steps: # This action checks-out the repository, so the workflow can access it. - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 diff --git a/.github/workflows/testBuild.yml b/.github/workflows/testBuild.yml index 6cda4e5141b3..b1bb192ef555 100644 --- a/.github/workflows/testBuild.yml +++ b/.github/workflows/testBuild.yml @@ -62,7 +62,8 @@ jobs: name: Build and deploy Android for testing needs: [validateActor, getBranchRef] if: ${{ fromJSON(needs.validateActor.outputs.READY_TO_BUILD) }} - runs-on: ubuntu-latest-16-cores + runs-on: + labels: ubuntu-latest-16-cores env: PULL_REQUEST_NUMBER: ${{ github.event.number || github.event.inputs.PULL_REQUEST_NUMBER }} steps: @@ -232,7 +233,8 @@ jobs: if: ${{ fromJSON(needs.validateActor.outputs.READY_TO_BUILD) }} env: PULL_REQUEST_NUMBER: ${{ github.event.number || github.event.inputs.PULL_REQUEST_NUMBER }} - runs-on: ubuntu-latest-16-cores + runs-on: + labels: ubuntu-latest-16-cores steps: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 with: From d87ede635eecf42f37b472f3ede329d013abd49f Mon Sep 17 00:00:00 2001 From: Andrew Gable Date: Fri, 2 Jun 2023 14:56:05 -0600 Subject: [PATCH 2/2] Ignore incorrect error --- .github/scripts/validateActionsAndWorkflows.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/validateActionsAndWorkflows.sh b/.github/scripts/validateActionsAndWorkflows.sh index 8d186ea51a44..e920634b2484 100755 --- a/.github/scripts/validateActionsAndWorkflows.sh +++ b/.github/scripts/validateActionsAndWorkflows.sh @@ -84,7 +84,7 @@ else fi info 'Linting workflows...' -./actionlint -color || EXIT_CODE=1 +./actionlint -color -ignore '"runs-on" section must be sequence node but got mapping node with "!!map" tag' || EXIT_CODE=1 if [[ "$EXIT_CODE" == 0 ]]; then success 'Workflows passed actionlint!' fi