Package of useful functions for GitHub Actions.
Project description
Github Actions Utils
Log Utils
github group decorator
from github_actions_utils.log_utils import github_group
@github_group("foo")
def foo():
code
Will produce in github action log
▸ foo
You can use the function parameters as input like:
@github_group("Running $cmd")
def run(cmd):
code
When your code calls the run function will print user the value from cmd parameter:
run("nice command")
▸ Running nice command
Even if the value is an object and you want a value from the object attribute:
@github_group("Hello $(person.name)")
def hello(person):
code
p = Person(name="Heitor")
hello(p)
▸ Hello Heitor
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file github_actions_utils-0.6.1.tar.gz.
File metadata
- Download URL: github_actions_utils-0.6.1.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7262ad8c06c74034fc56f4a4c9decc0a1997dc7d3de5e9f150ae83baf0e867d8
|
|
| MD5 |
a71cd386fd86e9bb3671b601bcd8d84a
|
|
| BLAKE2b-256 |
2e5e684a074b7e25f97147517ef9c9067d262ed3c967609aceb6e85b8b9500c6
|
File details
Details for the file github_actions_utils-0.6.1-py3-none-any.whl.
File metadata
- Download URL: github_actions_utils-0.6.1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e49158a889bc256cf71bc522a48b2cf163cc07fb4f1a8bea4e77628578199b1c
|
|
| MD5 |
0a114628f5e46c97dee48915a0710e00
|
|
| BLAKE2b-256 |
d80debbd0c27d2bfcf05f385a1bb21e8927ea7d2f2fe5c83d357f3b295af3dc5
|