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: