An action that downloads and extracts uploaded artifact by name. Download artifact from repository - it's not dependent by any workflow.
- name: Download artifact
uses: aochmann/actions-download-artifact@1.0.0
with:
# Optional, GitHub token
github_token: ${{secrets.GITHUB_TOKEN}}
# Optional, uploaded artifact name,
# will download all artifacts if not specified
# and extract them in respective subdirectories
# https://github.com/actions/download-artifact#download-all-artifacts
name: artifact_name
# Optional, download latest artifact
latest: true
# Optional, directory where to extract artifact
path: extract_here
# Optional, defaults to current repo
repo: ${{github.repository}}
found-artifact
- A boolean that indicates if the artifact was found.path
- The absolute path to where the artifact was downloaded to.