diff --git a/.github/workflows/run_ok_command.yml b/.github/workflows/run_ok_command.yml index 0777bc0..9a04739 100644 --- a/.github/workflows/run_ok_command.yml +++ b/.github/workflows/run_ok_command.yml @@ -62,10 +62,15 @@ jobs: steps: + - if: runner.os == 'linux' + name: Add Homebrew to PATH + run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH + + - name: Install ok env: HOMEBREW_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}" run: | - brew tap oslokommune/ok git@github.com:oslokommune/ok.git + brew tap oslokommune/ok https://github.com/oslokommune/ok brew install ok ok "${{ inputs.subcommand }}"