Files
alexandre.pires 33cccdf396
Terraform Scaleway IAC Validate on Pull Request / iac-validate (pull_request) Failing after 1m37s
Fix sectool installation step by removing version check
2026-07-06 21:14:24 +02:00

15 lines
571 B
YAML

name: Setup Sectool
description: Download and install the sectool binary from GitHub releases
runs:
using: "composite"
steps:
- name: Download sectool binary
shell: bash
run: |
LATEST=$(curl -s https://api.github.com/repos/a13labs/sectool/releases/latest)
ASSET_URL=$(echo "$LATEST" | jq -r '.assets[] | select(.name | test("linux.*x64")) | .browser_download_url')
curl -sL "$ASSET_URL" -o /tmp/sectool.zip
unzip -o /tmp/sectool.zip -d /usr/local/bin
rm /tmp/sectool.zip
chmod +x /usr/local/bin/sectool