From 55a53355bf8204e2d04b619f0232f5867071d654 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 15 Jul 2024 19:27:34 +0530 Subject: [PATCH] fix: add rokit to GITHUB_PATH --- action.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 811c09a..2a7198d 100644 --- a/action.yml +++ b/action.yml @@ -22,12 +22,17 @@ inputs: runs: using: "composite" steps: - - name: Install rokit - run: curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/rojo-rbx/rokit/main/scripts/install.sh | sh + - name: Install Rokit + run: | + curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/rojo-rbx/rokit/main/scripts/install.sh | sh env: GITHUB_TOKEN: ${{ inputs.token }} shell: bash + - name: Add Rokit to PATH + run: echo "$HOME/.rokit/bin" >> $GITHUB_PATH + shell: bash + - name: Create auth file run: | cat > $HOME/.rokit/auth.toml << EOF