Initial setup of gitea actions

This commit is contained in:
2026-07-05 18:36:41 +02:00
parent 040f7a382f
commit ebbb1254fb
13 changed files with 468 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
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
sectool version