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 1b06944 commit d8410d6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,14 @@ runs:
- name: Download Blazium CLI
shell: bash
run: |
echo "Runner os is ${{ runner.os}}"
# Download cli on linux all the time
os="linux"
echo "Runner os is ${{ runner.os }}"
if [ "$RUNNER_OS" == "Linux" ]; then
os="linux"
elif [ "$RUNNER_OS" == "Windows" ]; then
os="windows"
else
os="macos"
fi
mkdir -p ${{ inputs.downloads-path }}/cli
if [ "${{ 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
Expand Down

0 comments on commit d8410d6

Please sign in to comment.