Files
download-artifact/action.yml
2026-03-08 02:00:48 +00:00

45 lines
1.3 KiB
YAML
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: 'Download Artifact (No-Op for Gitea)'
description: 'No-op artifact download for Gitea - skips artifact retrieval'
author: 'actions-mirror'
inputs:
name:
description: 'Name of the artifact to download'
required: false
path:
description: 'Destination path'
required: false
pattern:
description: 'A glob pattern to the artifacts that should be downloaded'
required: false
merge-multiple:
description: 'When multiple artifacts are matched, this changes the behavior of the destination directories'
required: false
default: 'false'
github-token:
description: 'The GitHub token used to authenticate with the GitHub API'
required: false
repository:
description: 'The repository owner and name'
required: false
run-id:
description: 'The id of the workflow run'
required: false
outputs:
download-path:
description: 'Path of artifact download (not applicable for Gitea)'
value: ''
runs:
using: 'composite'
steps:
- name: Artifact download skipped
shell: bash
run: |
echo " Artifact download skipped on Gitea (using no-op override)"
echo " Name: ${{ inputs.name }}"
echo " Path: ${{ inputs.path }}"
echo ""
echo " 💡 Tip: Artifacts from previous jobs aren't available on Gitea"