actions-marketplace-validations/Share GitHub jobs data
Share data across GitHub workflow jobs. Supports data of any shape: multiple properties, nested properties, lists, etc.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | Command to use: 'set-data', 'read-data-current-workflow' or 'read-data-different-workflow'. | yes | — |
| artifact-name | The name of the workflow artifact where data is going to be stored or retrieved from. | yes | job-data |
| data-filename | The filename inside the workflow artifact that contains (in case of reading) or will contain (in case of writing) the data to share. | yes | job-data.json |
| output | How to output the job data in the step's output. It must be one of: none, strict-json, github-step-json. | yes | github-step-json |
| data | The data to share in YAML format. | no | "" |
| auth-token | GitHub token used to download the job data artifact. | no | ${{ github.token }} |
| repo | The repository for the workflow run in the format of {owner}/{repo}. | no | ${{ github.repository }} |
| run-id | The unique identifier of the workflow run that contains the job data artifact. | no | "" |
Outputs
| name | description |
|---|---|
| data | Job data in JSON format. Populated only when the output action input parameter is set to strict-json. |