fix: add rokit to GITHUB_PATH

This commit is contained in:
Erica Marigold 2024-07-15 19:27:34 +05:30
parent 734acb37c4
commit 55a53355bf
No known key found for this signature in database
GPG key ID: 2768CC0C23D245D1

View file

@ -22,12 +22,17 @@ inputs:
runs: runs:
using: "composite" using: "composite"
steps: steps:
- name: Install rokit - name: Install Rokit
run: curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/rojo-rbx/rokit/main/scripts/install.sh | sh run: |
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/rojo-rbx/rokit/main/scripts/install.sh | sh
env: env:
GITHUB_TOKEN: ${{ inputs.token }} GITHUB_TOKEN: ${{ inputs.token }}
shell: bash shell: bash
- name: Add Rokit to PATH
run: echo "$HOME/.rokit/bin" >> $GITHUB_PATH
shell: bash
- name: Create auth file - name: Create auth file
run: | run: |
cat > $HOME/.rokit/auth.toml << EOF cat > $HOME/.rokit/auth.toml << EOF