Skip to content

Bugfix/integration test#5

Merged
krakenhavoc merged 2 commits intomainfrom
bugfix/integration-test
Apr 9, 2026
Merged

Bugfix/integration test#5
krakenhavoc merged 2 commits intomainfrom
bugfix/integration-test

Conversation

@krakenhavoc
Copy link
Copy Markdown
Contributor

This pull request updates the download_cli() function in entrypoint.sh to improve how the CLI binary is downloaded, extracted, and made available in the system path. The main changes focus on using a variable filename for the downloaded binary and updating how the binary is added to the PATH.

Improvements to download and extraction process:

  • Changed the download target from a fixed /tmp/cli.tar.gz to a variable filename using ${binary_name}, improving flexibility for different binary names.
  • Updated the extraction command to use the variable filename, ensuring the correct file is extracted regardless of binary name.

Environment setup changes:

  • Replaced appending /tmp to GITHUB_PATH with directly exporting /tmp to the PATH environment variable, ensuring the CLI is immediately available in the current shell session.

sha256sum -c expects the file at the path listed in checksums.txt.
Downloading to cli.tar.gz caused a 'No such file or directory' error
during verification.
GITHUB_PATH changes only take effect in subsequent steps, not within
the same composite action step. Use export PATH instead.
@krakenhavoc krakenhavoc merged commit 1a4f4fb into main Apr 9, 2026
3 checks passed
@krakenhavoc krakenhavoc deleted the bugfix/integration-test branch April 9, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant