chore(go): compose vociferate runtime flow

This commit is contained in:
Micheal Wilkinson
2026-03-21 14:45:50 +00:00
parent 9a91c70e5d
commit f04df719e2
11 changed files with 537 additions and 510 deletions

View File

@@ -0,0 +1,31 @@
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"