setup-spud-action/action.yml

17 lines
503 B
YAML

name: Setup Spud Tooling
inputs:
version:
description: "Spud version to install."
runs:
using: composite
steps:
- name: Ensure install directory exists and is on PATH
run: |
mkdir -p $HOME/.local/bin
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Pull pre-built binary
env:
SPUD_VERSION: ${{ inputs.version }}
run: curl https://forge.karnov.club/spadinastan/spud/raw/branch/main/install.sh | bash
- name: Smoke test
run: which spud