@actions-kit/envi
v0.1.0
Published
Environment management library of Actions Kit
Downloads
3
Readme
Actions Kit - Envi
An environment management library of Actions Kit, an additional toolkit for developing GitHub Actions.
Installation
npm install @actions-kit/envi
Usage
Get Action Inputs
Use getStringInput(key)
to get a string from an action input.
const envi = require('@actions-kit/envi');
const stringInput = envi.getStringInput("string-input");
Or use getMultilineInput(key)
, getBooleanInput(key)
or getNumberInput(key)
to respectively get a multiline string, boolean or number from an action input.
const multilineInput = envi.getMultilineInput("multiline-input");
const booleanInput = envi.getBooleanInput("boolean-input");
const numberInput = envi.getNumberInput("number-input");
License
This project is licensed under the terms of the MIT License.
Copyright © 2023 Alfi Maulana