mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 04:30:37 +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:
|
||||
- name: Download aftman
|
||||
run: |
|
||||
case "Windows" in
|
||||
case ${{ runner.os }} in
|
||||
Linux) pattern="*linux-x86_64.zip" ;;
|
||||
macOS) pattern="*macos-x86_64.zip" ;;
|
||||
Windows) pattern="*windows-x86_64.zip" ;;
|
||||
|
@ -38,7 +38,6 @@ runs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ inputs.token }}
|
||||
|
||||
|
||||
- name: Install aftman
|
||||
run: |
|
||||
unzip aftman*.zip
|
||||
|
@ -49,7 +48,7 @@ runs:
|
|||
- name: Install tools
|
||||
run: |
|
||||
cd ${{ inputs.path }}
|
||||
aftman install --no-trust-check
|
||||
aftman install --no-trust-check
|
||||
shell: bash
|
||||
|
||||
branding:
|
||||
|
|
Loading…
Reference in a new issue