Compare commits
1 commit
main
...
feat/insta
Author | SHA1 | Date | |
---|---|---|---|
00897d9e6c |
2 changed files with 16 additions and 1 deletions
11
README.md
Normal file
11
README.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# Setup Spud Action
|
||||||
|
|
||||||
|
## Interface
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
inputs:
|
||||||
|
version:
|
||||||
|
description: "Spud version to install."
|
||||||
|
```
|
||||||
|
|
||||||
|
If the `version` input is not provided, the latest version will be installed (see [spadinastan/spud](https://forge.karnov.club/spadinastan/spud)).
|
|
@ -1,10 +1,14 @@
|
||||||
name: Setup Spud
|
name: Setup Spud Tooling
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: "Spud version to install."
|
description: "Spud version to install."
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
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
|
- name: Pull pre-built binary
|
||||||
env:
|
env:
|
||||||
SPUD_VERSION: ${{ inputs.version }}
|
SPUD_VERSION: ${{ inputs.version }}
|
||||||
|
|
Loading…
Reference in a new issue