Skip to content

Commit

Permalink
Fix extract path
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Harding <kyle@balena.io>
  • Loading branch information
klutchell committed Apr 22, 2024
1 parent 9363d58 commit c6de367
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ runs:
run: |
set -x
curl -fsSL "${REPO}/releases/download/${VERSION}/balena-cli-${VERSION}-linux-x64-standalone.zip" -o balena-cli.zip
unzip balena-cli.zip -d balena-cli
unzip balena-cli.zip -d .
- name: Download balena CLI (Linux ARM64)
if: runner.os == 'Linux' && runner.arch == 'ARM64' && ! steps.cache.outputs.cache-hit
Expand All @@ -54,7 +54,7 @@ runs:
run: |
set -x
curl -fsSL "${REPO}/releases/download/${VERSION}/balena-cli-${VERSION}-linux-arm64-standalone.zip" -o balena-cli.zip
unzip balena-cli.zip -d balena-cli
unzip balena-cli.zip -d .
- name: Download balena CLI (Windows X64)
if: runner.os == 'Windows' && runner.arch == 'x64' && ! steps.cache.outputs.cache-hit
Expand All @@ -66,7 +66,7 @@ runs:
run: |
set -x
curl -fsSL "${REPO}/releases/download/${VERSION}/balena-cli-${VERSION}-windows-x64-standalone.zip" -o balena-cli.zip
unzip balena-cli.zip -d balena-cli
unzip balena-cli.zip -d .
- name: Download balena CLI (macOS X64)
if: runner.os == 'macOS' && runner.arch == 'x64' && ! steps.cache.outputs.cache-hit
Expand All @@ -78,7 +78,7 @@ runs:
run: |
set -x
curl -fsSL "${REPO}/releases/download/${VERSION}/balena-cli-${VERSION}-macOS-x64-standalone.zip" -o balena-cli.zip
unzip balena-cli.zip -d balena-cli
unzip balena-cli.zip -d .
- name: Download balena CLI (macOS ARM64)
if: runner.os == 'macOS' && runner.arch == 'ARM64' && ! steps.cache.outputs.cache-hit
Expand All @@ -90,7 +90,7 @@ runs:
run: |
set -x
curl -fsSL "${REPO}/releases/download/${VERSION}/balena-cli-${VERSION}-macOS-arm64-standalone.zip" -o balena-cli.zip
unzip balena-cli.zip -d balena-cli
unzip balena-cli.zip -d .
- name: Install balena CLI to tool cache
uses: AnimMouse/tool-cache@v1
Expand Down

0 comments on commit c6de367

Please sign in to comment.