Skip to content

Commit

Permalink
Merge pull request #3 from balena-io-examples/kyle/fix-path
Browse files Browse the repository at this point in the history
Fix balena binary path
  • Loading branch information
flowzone-app[bot] authored Apr 12, 2024
2 parents 3031cab + 9481ee8 commit 6c2662a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ runs:
with:
cli-version: latest
balena-token: ${{ fromJSON(inputs.secrets).BALENA_API_KEY }}
- name: Print balena CLI version
shell: bash
run: |
which balena
balena version
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ runs:
ARCH: ${{ steps.check_arch.outputs.slug }}
VERSION: ${{ steps.check_version.outputs.slug }}
run: |
set -x
curl -fsSL "https://github.com/balena-io/balena-cli/releases/download/${VERSION}/balena-cli-${VERSION}-${OS}-${ARCH}-standalone.zip" -o "${{ runner.temp }}/balena-cli.zip"
- name: Unpack balena CLI
Expand All @@ -66,7 +67,7 @@ runs:
GITHUB_ACTION_PATH: ${{ github.action_path }}
run: |
unzip "${{ runner.temp }}/balena-cli.zip" -d "${GITHUB_ACTION_PATH}"
echo "${GITHUB_ACTION_PATH}/balena-cli" >> $GITHUB_PATH
echo "${GITHUB_ACTION_PATH}/balena-cli" >> "${GITHUB_PATH}"
- name: Print balena CLI version
shell: bash
Expand Down

0 comments on commit 6c2662a

Please sign in to comment.