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
Close
Hashes for github_actions_utils-0.0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74e0cf211cc7817dbd883e658c22d7dbf6f6ac2bad41a62cea42a20b07215717 |
|
MD5 | ae050acdb3ecc4f2d230168fb5618947 |
|
BLAKE2b-256 | 1df0e69a482cf7c2d5255991d1fe723de74a254366a9a6a6f37e39ca2e9cd49d |
Close
Hashes for github_actions_utils-0.0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce0dc177365bc79af8ac1a448c15d3579104c9f9c2160635bfadf1482b7ac2b2 |
|
MD5 | 579241efc7f599c5b74b6518f7d46582 |
|
BLAKE2b-256 | d77524086a8679b6d419fa029eeb305fab194cc671fa1e520e3c51cfef54b8c7 |