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

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

actions_toolkit-0.1.8-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: actions-toolkit-0.1.8.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for actions-toolkit-0.1.8.tar.gz
Algorithm Hash digest
SHA256 53048d824d7038a348b423efdd2b3d334e9ba644126b8573d6b9d30696c20e0d
MD5 a8cfaa2408af64b456cf3f7ba3dbabaa
BLAKE2b-256 a0e0b5861e07268b6c81c0d083aa6c19ba4d021dbdc1b3d111d3d53c31162f29

See more details on using hashes here.

File details

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

File metadata

  • Download URL: actions_toolkit-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for actions_toolkit-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6e3b0e19308957b731230207176bc1b4a73effb72188f3e5a78ba3fe07980e43
MD5 9c641a8f6fda2e144ac4037d9653b1d7
BLAKE2b-256 1041971ef1716c6ca32ead39c80456adbb9418b7a30486401deb1c482664d592

See more details on using hashes here.

Supported by

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