diff --git a/README.md b/README.md deleted file mode 100644 index 38d8634..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# download-artifact - diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..d7f6557 --- /dev/null +++ b/action.yml @@ -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"