Skip to content

Artifacts

Artifacts are data generated by workflows that can be passed to subsequent jobs.

Workflows

Official workflows

The upload-artifact and the
download-artifact actions by GitHub for storing and retrieving artifact(s) in the same workflow.

Artifacts across two different workflows

The action-download-artifact action downloads and extracts uploaded artifact(s) associated with a given (different) workflow.

The artifacts-url-comments action creates comment(s) in pull request and/or associated issues containing the URL to artifacts from the workflow run being watched.

How to merge multiple artifacts

merge-multiple: true

- name: Download notebooks
  uses: actions/download-artifact@v4
  with:
    path: path/of/artifacts
    pattern: notebook-*
    merge-multiple: true
- name: Display structure of downloaded files
  run: ls -R path/of/artifacts

Comments