first try

This commit is contained in:
2025-07-06 11:56:08 +02:00
parent 715cffde38
commit a4d88e5ea3
20 changed files with 36769 additions and 23 deletions

View File

@ -1,26 +1,5 @@
name: 'Setup AGE & SOPS'
description: 'Installs SOPS and AGE binaries'
runs:
using: 'composite'
steps:
- name: download
shell: bash
id: download
run: |
if ! [ -x "$(command -v curl)" ]; then
echo "I need curl to operate"
exit 1
fi
mkdir -p "$HOME/.bin"
if ! [ -x "$(command -v sops)" ]; then
curl https://github.com/getsops/sops/releases/download/v3.10.2/sops-v3.10.2.linux.amd64 -o "$HOME/.bin/sops"
else
echo "sops already present"
fi
if ! [ -x "$(command -v age)" ]; then
curl -L https://github.com/FiloSottile/age/releases/download/v1.2.1/age-v1.2.1-linux-amd64.tar.gz -o - | tar -xzO age/age > "$HOME/.bin/age"
else
echo "age already present"
fi
$HOME
echo "PATH=$HOME/.bin:$PATH" >> $GITHUB_ENV
using: 'node20'
main: 'dist/index.js'