Skip to content

Setup Smallstep step-cli tool

Actions
Downloads and installs the Smallstep step-cli a specified version of the step-cli tool
v0.0.1
Latest
Star (0)

Setup Smallstep CLI

Linter CI Check dist/ CodeQL Coverage

Description

This action downloads a specified version of the smallstep cli on supported platforms and adds the step command to the runner's tool-cache.

Action Inputs

Input name Description Required Default value
version The version of the step-cli tool to install true latest

Examples

name: My workflow
on: push
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: muandane/setup-step-cli@v0.0.1
        with:
          version: '0.29.0'
      - name: Get Version
        run: step version

Development

First, you'll need to have a reasonably modern version of node handy. 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 all

Releasing

This project includes a helper script, script/release designed to streamline the process of tagging and pushing new releases for GitHub Actions.

  1. Update the version in package.json
  2. Run npm run all to ensure everything is built and tested
  3. Run script/release to create and push release tags
  4. Create a GitHub release with release notes

For more information about versioning your action, see Versioning in the GitHub Actions toolkit.

Setup Smallstep step-cli tool is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Downloads and installs the Smallstep step-cli a specified version of the step-cli tool
v0.0.1
Latest

Setup Smallstep step-cli tool is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.