From 02e79d9da43d79efa846d73695b6052cbbdbf48a Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Mon, 3 Oct 2022 22:12:12 +0200 Subject: [PATCH] action: in separate step --- action.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 1eba527..2570ad6 100644 --- a/action.yml +++ b/action.yml @@ -71,13 +71,11 @@ inputs: runs: using: composite steps: - - run: | - echo /home/linuxbrew/.linuxbrew/bin >> $GITHUB_PATH - brew update-reset + - run: echo /home/linuxbrew/.linuxbrew/bin >> $GITHUB_PATH shell: sh - - run: | - echo /home/linuxbrew/.linuxbrew/bin >> $GITHUB_PATH - brew ruby $GITHUB_ACTION_PATH/main.rb + - run: brew update-reset + shell: sh + - run: brew ruby $GITHUB_ACTION_PATH/main.rb shell: sh env: HOMEBREW_GITHUB_API_TOKEN: ${{inputs.token}}