🛠 The GitHub ToolKit for developing GitHub Actions in Python.
Project description
Actions Toolkit
The GitHub Actions ToolKit provides an SDK 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.3.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for actions_toolkit-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d90ce3ebbd0a6e0ab988baaa7d430e1485e891092f3259dcc295500bbf41bf9 |
|
MD5 | e32b782789ec57a349416fd64011fa4d |
|
BLAKE2b-256 | a325f09b4b32fd1b2386bfc0a6da9f8909dac268a7dc63de6fadca24360629af |