Skip to content

Commit 0e3ae4b

Browse files
Update outdated note on downloading actions (github#36370)
Co-authored-by: Sophie <[email protected]>
1 parent 7333b5e commit 0e3ae4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/actions/writing-workflows/choosing-what-your-workflow-does/storing-and-sharing-data-from-a-workflow.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ After a workflow run has been completed, you can download or delete artifacts on
156156
The [`actions/download-artifact`](https://github.com/actions/download-artifact) action can be used to download previously uploaded artifacts during a workflow run.
157157

158158
> [!NOTE]
159-
> You can only download artifacts in a workflow that were uploaded during the same workflow run.
159+
> {% 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.
160+
{% elsif ghes %}You can only download artifacts in a workflow that were uploaded during the same workflow run.{% endif %}
160161

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

0 commit comments

Comments
 (0)