Marc Cataford
1ac5adb151
Reviewed-on: #1 Co-authored-by: Marc Cataford <mcat@riseup.net> Co-committed-by: Marc Cataford <mcat@riseup.net>
17 lines
503 B
YAML
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
|