Skip to main content

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.

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)

Source distribution for actions-toolkit 0.1.15
File Size Uploaded
actions-toolkit-0.1.15.tar.gz 14.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for actions-toolkit 0.1.15
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.15 This release

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

1 release file

0.0.7

1 release file

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page