Initialize with override content
This commit is contained in:
44
action.yml
Normal file
44
action.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user