pkl-github-action-step-generator
A simple CLI tool to generate a Pkl definition for a given action
Usage
The tool supports generating Pkl step definitions from two sources, remote or local.
For local, the command is as follows:
pkl-github-actions-step-generator from-local <path-to-action.yml> <full-reference-to-action> [-o --output <OUTPUT FILE>] [--pkl-github-actions-bindings] [--pkl-github-actions-bindings-version]
full-reference-to-action should be in the form you would use to reference the action in a workflow (e.g. actions/checkout@v4).
The --pkl-github-actions-bindings enables the generation of bindings to pkl-github-actions. The version flag allows you to specify a version (otherwise a default will be used).
If no output is provided, the file content will instead be output to stdout.
Remote has the same options, except it finds the action.yml in the remote repository:
pkl-github-actions-step-generator from-remote <full-reference-to-action> [-o --output <OUTPUT FILE>] [--pkl-github-actions-bindings] [--pkl-github-actions-bindings-version]
For example, to generate a file containing the definition for the checkout action, the command would be:
pkl-github-actions-step-generator from-remote actions/checkout@v4 -o checkout.pkl
Metadata
Release files for pkl-github-actions-step-generator 0.1.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pkl_github_actions_step_generator-0.1.13.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pkl_github_actions_step_generator-0.1.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.6 kB
Release files / pkl_github_actions_step_generator-0.1.13.tar.gz
| Download URL | pkl_github_actions_step_generator-0.1.13.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8552a9053025ba5516423b20e3c52d04743b4a4bd803a4ef18584d28e5fc7b6
|
|
BLAKE2b-256 checksum How to use checksums |
edc02011b1621e2fa70211ef2b441750c74e17f904168f614fc1aae7a7be05d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / pkl_github_actions_step_generator-0.1.13-py3-none-any.whl
| Download URL | pkl_github_actions_step_generator-0.1.13-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44af00eea437c2ee9ce52bef7607186bbd8d74371042fe8ea3dcc2d4e40a3a6e
|
|
BLAKE2b-256 checksum How to use checksums |
b6f86d7f15404e26c2aca37589d3d1033ab182ec2d52a7417851e34467579dae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|