From fb1cba41df46f97df304f0d01683d42399875d21 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Mon, 3 Oct 2022 21:47:18 +0200 Subject: [PATCH] action: set PATH to find brew https://github.com/actions/runner-images/issues/6283 --- action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yml b/action.yml index 12c3374..3e9e97b 100644 --- a/action.yml +++ b/action.yml @@ -77,9 +77,12 @@ runs: steps: - run: brew update-reset shell: sh + env: + PATH: /home/linuxbrew/.linuxbrew/bin:/opt/homebrew/bin:/usr/local/bin - run: brew ruby $GITHUB_ACTION_PATH/main.rb shell: sh env: + PATH: /home/linuxbrew/.linuxbrew/bin:/opt/homebrew/bin:/usr/local/bin HOMEBREW_GITHUB_API_TOKEN: ${{inputs.token}} HOMEBREW_BUMP_MESSAGE: ${{inputs.message}} HOMEBREW_BUMP_ORG: ${{inputs.org}}