🛠 The GitHub ToolKit for developing GitHub Actions in Python.
Project description
Actions Toolkit
The GitHub Actions ToolKit provides a set of packages to make creating actions easier in Python.
>>> import os
>>> from actions_toolkit import core
>>> os.environ['INPUT_NAME'] = 'Actions Toolkit'
>>> core.get_input('name', required=True)
'Actions Toolkit'
>>> core.error('Something went wrong.')
::error::Something went wrong.
>>> core.info('Run successfully.')
Run successfully.
>>> core.set_failed('SSL certificates installation failed.')
::error::SSL certificates installation failed.
Read more here
Installing Actions Toolkit and Supported Versions
Action Toolkit is available on PyPI:
$ python -m pip install actions-toolkit
Action Toolkit officially supports Python 3.6+.
Contributing
We welcome contributions.
License
The scripts and documentation in this project are released under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
actions-toolkit-0.1.2.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for actions_toolkit-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9fce7a448e84285df056ffc5e9a89b43c17e75315f21752f0d85ab2313397d0 |
|
MD5 | 2b3a09b0a2f8b909640b77b43aa57a21 |
|
BLAKE2b-256 | 95f383f301ba899d5fc163eccb057663eeb7967a179c4868c96f33eaba1d194f |