name: vociferate/download-vociferate-binary description: Download a released vociferate binary to a target path. inputs: token: description: Token used to authenticate the download request. required: true asset-url: description: URL of the release asset to download. required: true binary-path: description: Destination path for the downloaded binary. required: true runs: using: composite steps: - name: Download binary shell: bash env: TOKEN: ${{ inputs.token }} ASSET_URL: ${{ inputs.asset-url }} BINARY_PATH: ${{ inputs.binary-path }} run: | set -euo pipefail curl --fail --location \ -H "Authorization: token ${TOKEN}" \ -o "$BINARY_PATH" \ "$ASSET_URL" chmod +x "$BINARY_PATH"