From c65812a0ca91c8be61f93cff501d70e81801c867 Mon Sep 17 00:00:00 2001 From: Alw3ys Date: Thu, 25 Jan 2024 13:14:33 +0100 Subject: [PATCH] fix macos --- action.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 6fd121e..b0fbe90 100644 --- a/action.yaml +++ b/action.yaml @@ -16,7 +16,11 @@ runs: steps: - run: | curl -fsSL https://dosei.ai/install.sh | sh - echo "/home/runner/.dosei/bin" >> $GITHUB_PATH + if [ "$RUNNER_OS" == "Linux" ]; then + echo "/home/runner/.dosei/bin" >> $GITHUB_PATH + elif [ "$RUNNER_OS" == "macOS" ]; then + echo "/Users/runner/.dosei/bin" >> $GITHUB_PATH + fi shell: bash - run: echo "DOSEI_TOKEN=${{ inputs.token }}" >> $GITHUB_ENV if: ${{ inputs.token }}