🧊Blocks
A Block is a component made of a Code in a specific Language. It might have parameters (available as ENV variables to the code), defaults, and a Pre-Code in Shell
to execute before the main. It may also be directly attached to a file in Github.
Any files created during execution will be saved as Artifacts.
Outputs can be set by printing following syntax:
::set-output key=value
.
Creating a Block
Go to /block/create/
Fill in Basic Details

Fill your Block's Parameters

Write your Code or Choose from Github
If choosing a Github file, you won't be able to change and save the code. Your Block will always match what's in Github. In order to write custom code, copy the file's code and disconnect from Github. Then you will be able to edit.

Review and Create

Last updated