setup-spud-action/action.yml

15 lines
422 B
YAML

name: Setup Spud
inputs:
version:
description: "Spud version to install."
runs:
using: composite
steps:
- name: Ensure install directory exists
run: mkdir -p $HOME/.local/bin
- 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