mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 04:30:37 +00:00
fix: add rokit to GITHUB_PATH
This commit is contained in:
parent
734acb37c4
commit
55a53355bf
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue