diff --git a/.github/install_dependencies b/.github/install_dependencies index b7e3a1b..5f3aace 100755 --- a/.github/install_dependencies +++ b/.github/install_dependencies @@ -22,7 +22,15 @@ case "${unameOut}" in Darwin*) echo "Installing MacOS dependencies" - brew update + + # detect when running in github workflow and skip `brew update` (relay on fresh OS image) + if [ -n "${GITHUB_ACTION}" ] ; then + echo "running in GitHub Workflow, skipping brew update" + echo "running ${ImageOS} vsersion ${ImageVersion}" + else + brew update + fi + brew install \ lame \ libshout \ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3cbaab3..58313c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,9 @@ jobs: runs-on: ${{ matrix.os }} timeout-minutes: 35 # runtime across all OSs, runs can get queued steps: + - name: Runner Info + run: printenv | sort + - name: Checkout repository uses: actions/checkout@main