Skip to content

Instantly share code, notes, and snippets.

@luandevpro
Created August 15, 2020 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luandevpro/a6ff85f35811fafdedfc49c3db297d5d to your computer and use it in GitHub Desktop.
Save luandevpro/a6ff85f35811fafdedfc49c3db297d5d to your computer and use it in GitHub Desktop.
jobs: is the base component of a workflow run
build: is the identifier we're attaching to this job
name: is the name of the job, this is displayed on GitHub when the workflow is running
steps: the linear sequence of operations that make up a job
uses: actions/checkout@v1 uses a community action called checkout to allow the workflow to access the contents of the repository
uses: ./action-a provides the relative path the action we've created in the action-a directory of the repository
with: is used to specify the input variables that will be available to your action in the runtime environment. In this case, the input variable is MY_NAME, and it is currently initialized to "Mona".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment