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:
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