setup-spud-action/action.yml

18 lines
503 B
YAML
Raw Normal View History

name: Setup Spud Tooling
2024-11-06 04:38:46 +00:00
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
2024-11-06 04:38:46 +00:00
- 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