Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea706cb

Browse files
authored
Merge pull request #54471 from github/repo-sync
Repo sync
2 parents a564cb9 + 0e3ae4b commit ea706cb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
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)