From 201401456960f2e99ab613471f9e5c086d5d3176 Mon Sep 17 00:00:00 2001 From: Julian Nguyen <109386615+juliannguyen4@users.noreply.github.com> Date: Wed, 3 Jul 2024 12:48:57 -0700 Subject: [PATCH] install timeout for macOS --- .github/actions/wait-for-as-server-to-start/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/wait-for-as-server-to-start/action.yml b/.github/actions/wait-for-as-server-to-start/action.yml index 16b2d74ba..0f4b7fec4 100644 --- a/.github/actions/wait-for-as-server-to-start/action.yml +++ b/.github/actions/wait-for-as-server-to-start/action.yml @@ -9,6 +9,10 @@ inputs: runs: using: "composite" steps: + - name: 'macOS: install timeout command' + if: ${{ runner.os == 'macOS' }} + run: brew install coreutils + # Composite actions doesn't support step-level timeout-minutes # Use timeout command and store polling script in file to make easier to read # Call bash shell explicitly since timeout uses "sh" shell by default, for some reason