Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Feb 7, 2025
1 parent ad437b1 commit a85e8d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ runs:
os="macos"
fi
mkdir -p ${{ inputs.downloads-path }}/cli
if [ "${{ steps.cache-blazium-cli.outputs.cache-hit }}" != "true" ]; then
# If os is windows, use .exe
if [ "$os" == "windows" ]; then
curl -L -o ${{ inputs.downloads-path }}/cli/blazium-cli.exe https://cdn.blazium.app/cli/$os/${{ inputs.cli-version }}/blazium-cli.exe
elif [ "${{ steps.cache-blazium-cli.outputs.cache-hit }}" != "true" ]; then
curl -L -o ${{ inputs.downloads-path }}/cli/blazium-cli https://cdn.blazium.app/cli/$os/${{ inputs.cli-version }}/blazium-cli
else
echo "Using cached Blazium CLI"
Expand Down

0 comments on commit a85e8d1

Please sign in to comment.