If you are using a version of inso before 10.3.1, please use
kong/setup-inso@v1
Install inso so that it can be used in your GitHub Actions workflows
Add the following to your steps
definition:
- uses: kong/setup-inso@v2
with:
inso-version: 10.3.1
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: kong/setup-inso@v2
with:
inso-version: 10.3.1
- run: inso --version
If you need to capture the output for use in a later step, you can add a wrapper script which exposes stdout
and stderr
by passing the wrapper
input and setting it to true
:
steps:
- uses: kong/setup-inso@v2
with:
inso-version: 10.3.1
wrapper: true
- run: inso --version
id: inso_version
- run: echo '${{ toJson(steps.inso_version.outputs) }}'
This would produce the following output:
{
"stderr": "",
"stdout": "10.3.1\n"
}
Setup inso 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.