Set matrix ouput in file to be uploaded as artifacts, because GitHub action does not handle job outputs for matrix
The GitHub Actions workflow ensures artifact uniqueness by concatenating the workflow's run_id
, run_number
, and a user-provided artifact-name
.
Users can enhance this uniqueness by supplying a distinct artifact-name
for each run, further ensuring that each artifact is uniquely identified across all runs and workflows.
This strategy effectively prevents any clashes or overwrites, maintaining the integrity and traceability of artifacts, especially when multiple workflows are executed concurrently or under similar configurations.
- uses: hoverkraft-tech/[email protected]
with:
# Description: The matrix output to set.
#
value: ""
# Description: The name of the artifact to upload.
#
artifact-name: ""
Input | Description | Default | Required |
---|---|---|---|
value |
The matrix output to set. | true | |
artifact-name |
The name of the artifact to upload. | true |
Output | Description |
---|---|
artifact-name |
The real unique name of the uploaded artifact. |