Skip to content

Commit 8389d67

Browse files
authored
Update main.yml
1 parent 4b71b29 commit 8389d67

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,4 +487,25 @@ jobs:
487487
steps:
488488
- uses: actions/checkout@v4
489489
- run: ci/install-dependencies.sh
490-
- run: ci/test-documentation.sh
490+
- run: ci/test-documentation.sh
491+
492+
- name: Download a Build Artifact
493+
uses: actions/download-artifact@v5.0.0
494+
with:
495+
# Name of the artifact to download. If unspecified, all artifacts for the run are downloaded.
496+
name: # optional
497+
# IDs of the artifacts to download, comma-separated. Either inputs `artifact-ids` or `name` can be used, but not both.
498+
artifact-ids: # optional
499+
# Destination path. Supports basic tilde expansion. Defaults to $GITHUB_WORKSPACE
500+
path: # optional
501+
# A glob pattern matching the artifacts that should be downloaded. Ignored if name is specified.
502+
pattern: # optional
503+
# When multiple artifacts are matched, this changes the behavior of the destination directories. If true, the downloaded artifacts will be in the same directory specified by path. If false, the downloaded artifacts will be extracted into individual named directories within the specified path.
504+
merge-multiple: # optional, default is false
505+
# The GitHub token used to authenticate with the GitHub API. This is required when downloading artifacts from a different repository or from a different workflow run. If this is not specified, the action will attempt to download artifacts from the current repository and the current workflow run.
506+
github-token: # optional
507+
# The repository owner and the repository name joined together by "/". If github-token is specified, this is the repository that artifacts will be downloaded from.
508+
repository: # optional, default is ${{ github.repository }}
509+
# The id of the workflow run where the desired download artifact was uploaded from. If github-token is specified, this is the run that artifacts will be downloaded from.
510+
run-id: # optional, default is ${{ github.run_id }}
511+

0 commit comments

Comments
 (0)