ghactions icon indicating copy to clipboard operation
ghactions copied to clipboard

share variables across jobs

Open maxheld83 opened this issue 6 years ago • 1 comments

azure has this

maxheld83 avatar Aug 20 '19 15:08 maxheld83

Wrote to support:

Am I correct to assume that variables cannot be shared across jobs?

Say, I want to store a registry URL only once in my mail.yml, but then reuse it multiple times. Azure Pipelines offers this: variables in pipeline

From what I understand, GitHub Actions doesn't do this, and I can only pass variables into steps (if they are actions) as jobs.<job_id>.steps.with, but not into other jobs.

This is a bit limiting, especially for cross-platform builds.

maxheld83 avatar Aug 20 '19 15:08 maxheld83