Skip to content

Commit

Permalink
Update storing-and-sharing-data-from-a-workflow.md
Browse files Browse the repository at this point in the history
  • Loading branch information
felicitymay authored Feb 19, 2025
1 parent f9e01f6 commit 5117dfd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ After a workflow run has been completed, you can download or delete artifacts on
The [`actions/download-artifact`](https://github.com/actions/download-artifact) action can be used to download previously uploaded artifacts during a workflow run.

> [!NOTE]
> You can only download artifacts in a workflow that were uploaded during the same workflow run.
> {% ifversion fpt or ghec %}If you want to download artifacts from a different workflow or workflow run, you need to supply a token and run identifier. See [Download Artifacts from other Workflow Runs or Repositories](https://github.com/actions/download-artifact?tab=readme-ov-file#download-artifacts-from-other-workflow-runs-or-repositories) in the documentation for the download-artifact action.
{% elsif ghes %}You can only download artifacts in a workflow that were uploaded during the same workflow run.{% endif %}

Specify an artifact's name to download an individual artifact. If you uploaded an artifact without specifying a name, the default name is `artifact`.

Expand Down

0 comments on commit 5117dfd

Please sign in to comment.