From e69273aef2049bccb0336c80392f9c6f21142d8d Mon Sep 17 00:00:00 2001 From: ok-nick <25470747+ok-nick@users.noreply.github.com> Date: Mon, 22 Aug 2022 15:06:49 -0400 Subject: [PATCH] Fix case variable --- action.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index d8fa50f..acf9f72 100644 --- a/action.yml +++ b/action.yml @@ -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: