From 166f4e6cc81cfe1eb739561671dea070accbfd32 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 4 Jan 2022 13:40:02 -0500 Subject: [PATCH] GHA execution throttling #3739 --- .github/workflows/build-firmware.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml index 67e6986de5..538f28144a 100644 --- a/.github/workflows/build-firmware.yaml +++ b/.github/workflows/build-firmware.yaml @@ -178,21 +178,20 @@ jobs: skip-rate: 90 steps: - - uses: actions/checkout@v1 - with: - submodules: recursive - - - id: throttle - name: Execution throttle early exit - run: bash misc/actions/execution-throttle.sh ${{ matrix.skip-rate }} + - uses: actions/checkout@v1 + with: + submodules: recursive - uses: actions/setup-java@v1 - if: steps.throttle.conclusion == 'success' with: java-version: '8' + - id: throttle + name: Execution throttle early exit + # just running, not using result for anything yet + run: bash misc/actions/execution-throttle.sh ${{ matrix.skip-rate }} + - name: Install multilib, mingw, sshpass and mtools - if: steps.throttle.conclusion == 'success' run: | sudo apt-get update sudo apt-get install gcc-multilib g++-multilib g++-mingw-w64 gcc-mingw-w64 sshpass mtools