Fix case variable

This commit is contained in:
ok-nick 2022-08-22 15:06:49 -04:00
parent fdb395acd4
commit e69273aef2
No known key found for this signature in database
GPG key ID: A93D451DB4F2EB17

View file

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