Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gscho/setup-state-tool

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

setup-state-tool

An action to install the ActiveState State Tool CLI and add it to the $GITHUB_PATH.

This makes it easy to install projects from the ActiveState platform during a GitHub actions workflow.

Inputs

name type default description required
version string latest Version of the State Tool CLI to install false
channel string release Channel to download the State Tool CLI from false
activestate-api-key string API key used to authenticate to the ActiveState platform false
opt-in string true Opt-in to unstable state tool commands false

Examples

Example using the default configuration to install state tool for use with public projects:

name: "my workflow"
on:
  workflow_dispatch:

jobs:
  install-state-tool-cli:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - uses: gscho/setup-state-tool@v1
    - name: run help command
      run: state --help

Example using the latest beta state tool and an api-key:

name: "my workflow"
on:
  workflow_dispatch:

jobs:
  install-state-tool-cli:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - uses: gscho/setup-state-tool@v1
      with:
        activestate-api-key: foobar
        channel: beta
    - name: run help command
      run: state --help
Morty Proxy This is a proxified and sanitized view of the page, visit original site.