This action downloads a specified version of the
smallstep cli on supported platforms and
adds the step command to the runner's tool-cache.
| Input name | Description | Required | Default value |
|---|---|---|---|
| version | The version of the step-cli tool to install | true | latest |
name: My workflow
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: Simplifi-ED/setup-step-cli@v0.0.1
with:
version: '0.29.0'
- name: Get Version
run: step versionFirst, you'll need to have a reasonably modern version of
nodehandy. This won't work with versions older than 24, for instance.
Install dependencies, make changes, then build, format, lint, package, and test changes.
npm install
npm run allThis project includes a helper script, script/release
designed to streamline the process of tagging and pushing new releases for
GitHub Actions.
- Update the version in
package.json - Run
npm run allto ensure everything is built and tested - Run
script/releaseto create and push release tags - Create a GitHub release with release notes
For more information about versioning your action, see Versioning in the GitHub Actions toolkit.