Your GitHub Actions deserve the best. Install step CLI today. #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: install-step-cli | |
on: | |
push: | |
tags-ignore: | |
- 'v*' | |
branches: | |
- "main" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install the latest version | |
uses: smallstep/action-install-step-cli@main | |
- name: Print the latest version of step CLI | |
run: step version | |
- name: Install 0.24.4 version | |
uses: smallstep/action-install-step-cli@main | |
with: | |
step-cli-version: 0.24.4 | |
- name: Print the 0.24.4 version of step CLI | |
run: step version |