Skip to main content

🛠 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.

Downloads Supported Versions Pypi Versions Contributors

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.

Project details


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.15.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

actions_toolkit-0.1.15-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file actions-toolkit-0.1.15.tar.gz.

File metadata

  • Download URL: actions-toolkit-0.1.15.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for actions-toolkit-0.1.15.tar.gz
Algorithm Hash digest
SHA256 49615a8bc6941fdaa374f82cfb19432379b59bcae0d2a99bf8b80d704a64091e
MD5 023667d237739bd88aeca9cd4eedec11
BLAKE2b-256 e7d490b1c228a432df7dee7c2f5b31b4a7185e1f86bfb1657ace8ab3f22d8ac0

See more details on using hashes here.

File details

Details for the file actions_toolkit-0.1.15-py3-none-any.whl.

File metadata

File hashes

Hashes for actions_toolkit-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 fdb7eb2f7d626e3ebdcfb677ef484caf7de645fe887fbae5e5ac6b0b4b7ca8dc
MD5 4200be14cc3c895ff12d8a33ecb5a9cc
BLAKE2b-256 ec57b80878c169b73f977446117c259e0374b847192cfbe56429001eeb8ba1ec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page