Loading tutorials
Intermediate · Mid: 16 chapters · 33 min read. States assumed prerequisites
Start readinguses, run). It also assumes you are comfortable with YAML, can read short bash commands, and know how Git tags and repositories work.uses, run), can read YAML, and can write simple bash. The chapter before this one compared composite actions with JavaScript actions, Docker container actions and reusable woruses, run), write YAML, and run simple bash commands. It covers the runs block of action.yml, which turns a list of steps into a composite action.uses and run, and have written a short bash script. It covers one rule of composite actions: every run step must declare a shell.uses, run), you are comfortable with YAML and bash, and you know how an action.yml file is laid out. Here you will learn how a composite action receives values from its caller.action.yml declares inputs. Here you will learn how a value computed inside a composite action reaches the workflow that called it.uses, run), YAML, and bash. It also assumes you have a composite action with an action.yml file. Here you call that action from a workflow and read its outputs.action.yml, declare inputs, and give every run step a shell. Here you will move longer logic out of inline YAML and into script files that ship with the action.action.yml with inputs and composite steps, and that you know why every run step needs a shell.uses and run do, and have written a basic action.yml with inputs. It covers the if key inside a composite action and the mistakes that most often break it.inputs are in an action.yml, and are comfortable with basic bash quoting. It covers one risk that composite actions share with ordinary workflows: untrusted text that ends up inside a shell script.action.yml with inputs and composite steps, and that you know how env passes values to a run step. It shows how a composite action can use a secret without leaking it.uses and with work, and have already written a composite action with inputs and outputs. You will test an action by running it in a workflow inside the repository that holds it.shell on every run step, and that you know basic bash. Composite actions give you few debugging tools of their own, so you rely on the runner's logging features.action.yml with inputs and outputs, and that you know Git tags and branches. It covers how other repositories refer to your action, and how to release changes without breaking them.action.yml with runs.using: composite, declare inputs and outputs, and call the action from a workflow. It covers where composite actions fall short and how to pick another tool.