Skip to content

A custom GitHub Action that sets up the Smallstep step-cli tool

License

Notifications You must be signed in to change notification settings

muandane/setup-step-cli

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A custom GitHub Action that sets up the Smallstep step-cli tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 66.6%
  • Shell 19.8%
  • JavaScript 13.6%