Skip to content

Conversation

@alexadereyko
Copy link
Collaborator

No description provided.

Aliaksandr Adziareika added 6 commits November 13, 2025 11:30
Fix CLI missing argument parsing
Fix CLI documentation links
Exclude docs from triggering the workflows
Add asset listing and downloading functions:
- daq_api_gh_assets_list
- daq_api_gh_assets_filter
- __daq_api_gh_download_asset
- daq_api_gh_assets_download

These functions enable downloading release assets with pattern filtering.
This action downloads release assets from openDAQ/openDAQ repository
with automatic platform detection and pattern matching.

Inputs:
- github-token: GitHub token for API authentication
- version: Release version (e.g., v3.20.4) or 'latest'
- platform: Target platform (e.g., ubuntu22.04-x86_64, win64)
- packaging: Package format override (e.g., deb, exe, tar.gz, zip)
- asset-pattern: Custom glob pattern to filter assets
- output-dir: Output directory for downloaded assets
- verbose: Enable verbose output

Outputs:
- asset: Path to the downloaded asset
- asset-dir: Path to the downloaded asset directory
- asset-filename: Filename of the downloaded asset
- asset-filesize: Size of the downloaded asset in bytes
- asset-checksum: SHA256 checksum of the downloaded asset
- version: Resolved release version
- platform: Detected or specified platform alias
- packaging: Package format/extension (e.g., deb, exe, tar.gz)
Add tests for asset listing and downloading:
- test-cli-pattern-with-assets
- test-cli-pattern-missing-value
- test-cli-pattern-wildcards
- test-cli-list-assets-no-pattern
- test-cli-download-missing-output
- test-cli-output-missing-value
- test-cli-download-with-output
- test-cli-output-relative
- test-cli-list-assets
- test-cli-list-assets-version
- test-cli-download-asset
- Add framework-download-artifact composite action
- Add workflow artifact download/extract functions to api-github-gh.sh
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.

2 participants