mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 12:40:36 +00:00
Fix case variable
This commit is contained in:
parent
fdb395acd4
commit
e69273aef2
1 changed files with 2 additions and 3 deletions
|
@ -27,7 +27,7 @@ runs:
|
||||||
steps:
|
steps:
|
||||||
- name: Download aftman
|
- name: Download aftman
|
||||||
run: |
|
run: |
|
||||||
case "Windows" in
|
case ${{ runner.os }} in
|
||||||
Linux) pattern="*linux-x86_64.zip" ;;
|
Linux) pattern="*linux-x86_64.zip" ;;
|
||||||
macOS) pattern="*macos-x86_64.zip" ;;
|
macOS) pattern="*macos-x86_64.zip" ;;
|
||||||
Windows) pattern="*windows-x86_64.zip" ;;
|
Windows) pattern="*windows-x86_64.zip" ;;
|
||||||
|
@ -38,7 +38,6 @@ runs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ inputs.token }}
|
GITHUB_TOKEN: ${{ inputs.token }}
|
||||||
|
|
||||||
|
|
||||||
- name: Install aftman
|
- name: Install aftman
|
||||||
run: |
|
run: |
|
||||||
unzip aftman*.zip
|
unzip aftman*.zip
|
||||||
|
@ -49,7 +48,7 @@ runs:
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: |
|
run: |
|
||||||
cd ${{ inputs.path }}
|
cd ${{ inputs.path }}
|
||||||
aftman install --no-trust-check
|
aftman install --no-trust-check
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
branding:
|
branding:
|
||||||
|
|
Loading…
Reference in a new issue