Loading tutorials
uses and run, and that you are comfortable with YAML. It also assumes you know what a Git tag is. The chapter covers the metadata file that defines every action. The next chapters go deeper into composite steps, inputs and out5 min readruns block of an action.yml file. It explains how a composite action runs its steps and which step keys it supports. It also covers the errors people hit most often. It assumes you can read basic workflow syntax (jobs, steps, uses, run), you are comfortable with YAML,5 min readuses and run steps work in a normal workflow. Here you will see why composite actions require a shell on every run step, which values are allowed, and what each one does.5 min readuses, with and run do, and are comfortable with YAML and bash. It also assumes you have seen the action.yml layout from the earlier chapters. Here you will learn how a composite action receives data from the workflow that cal5 min readuses, run), write simple bash, and know that a composite action lives in an action.yml file with runs.using: composite. It covers how a value computed inside one step becomes a value the calling workflow can read.4 min readuses, run), you are comfortable with YAML and bash, and you know what Git tags and repositories are. It also assumes you have a6 min readrun blocks work for short commands. Once a step grows past a few lines, a separate script is easier to read, lint, and test. A composite action can ship scripts in its own directory and call them from its steps. This chapter assumes you can write an action.yml with inputs, outputs, and `s5 min readrun step or a uses step. A uses step calls another action. It can be a marketplace action, an action in another repository, or an action in the same repository.4 min readif key on steps inside a composite action. It assumes you can write a basic action.yml with inputs and runs.using: composite, and that you know the workflow expression syntax ${{ ... }}. You should also know that every run step in a composite action needs a shell.4 min readaction.yml, know how composite steps declare shell, and know how inputs and env work. It covers one risk: untrusted text from an input turning into shell code.5 min readenv-based input handling, as covered in the earlier chapters. It also assumes you know how repository and environment secrets are created in GitHub.5 min readuses, run) and have read the earlier chapters on action.yml, inputs, outputs and github.action_path. It uses the greet action from those chapters.5 min readshell on every run step. It also assumes you know how a workflow calls the action. The goal is to find out why an action misbehaves, and to make its logs useful to the people who call it.5 min readaction.yml, you know how to call a local action from a workflow, and you are comfortable creating Git tags and branches.5 min readshell on every run step. It also assumes you know how a workflow calls an action with uses. Here you will learn what composite actions can't do. You will also learn how they compare with JavaScript actions, Docker 5 min read