Actions Toolkit
The GitHub Actions ToolKit provides an SDK to make creating actions easier in Python.
Installation
Action Toolkit is available on PyPI:
$ python -m pip install actions-toolkit
Action Toolkit officially supports Python 3.6+.
Usage
>>> 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.
For more examples and API documentation, please see the core & github.
Contributing
Contributions are always welcomed!
Here are the workflow for contributors:
- Fork to your own
- Clone fork to local repository
- Create a new branch and work on it
- Keep your branch in sync
- Commit your changes (make sure your commit message concise)
- Push your commits to your forked repository
- Create a pull request
Please refer to CONTRIBUTING for detailed guidelines.
License
The scripts and documentation in this project are released under the MIT License.
Metadata
Release files for actions-toolkit 0.1.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| actions-toolkit-0.1.15.tar.gz | 14.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| actions_toolkit-0.1.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.2 kB
Release files / actions-toolkit-0.1.15.tar.gz
| Download URL | actions-toolkit-0.1.15.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49615a8bc6941fdaa374f82cfb19432379b59bcae0d2a99bf8b80d704a64091e
|
|
BLAKE2b-256 checksum How to use checksums |
e7d490b1c228a432df7dee7c2f5b31b4a7185e1f86bfb1657ace8ab3f22d8ac0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / actions_toolkit-0.1.15-py3-none-any.whl
| Download URL | actions_toolkit-0.1.15-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fdb7eb2f7d626e3ebdcfb677ef484caf7de645fe887fbae5e5ac6b0b4b7ca8dc
|
|
BLAKE2b-256 checksum How to use checksums |
ec57b80878c169b73f977446117c259e0374b847192cfbe56429001eeb8ba1ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Security for actions-toolkit 0.1.15
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.