Setup State Tool CLI
ActionsAn 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.
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 |
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
Setup State Tool CLI 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.