# SPDX-FileCopyrightText: 2026 Vital A Pi # SPDX-License-Identifier: MIT name: 'GitHub asset downloader' description: 'Downloads the file and chacks its SHA-sum.' inputs: repo: description: 'The GitHub repository slug (e.g., canonical/chisel)' required: true tag: description: 'The release tag (e.g., v1.4.1)' required: true asset: description: 'The exact name of the asset' required: true jq_predicate: description: 'Optional jq predicate filter for complex matching' required: false default: '' runs: using: 'composite' steps: - name: Run git checkout commands shell: bash run: | "${{ github.action_path }}/../../fetch-gh-asset.sh" \ "${{ inputs.repo }}" \ "${{ inputs.tag }}" \ "${{ inputs.asset }}" \ "${{ inputs.jq_predicate }}"