Initialize with override content
This commit is contained in:
47
action.yml
Normal file
47
action.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
name: 'Upload Artifact (No-Op for Gitea)'
|
||||
description: 'No-op artifact upload for Gitea - skips artifact storage'
|
||||
author: 'actions-mirror'
|
||||
|
||||
inputs:
|
||||
name:
|
||||
description: 'Artifact name'
|
||||
required: false
|
||||
default: 'artifact'
|
||||
path:
|
||||
description: 'A file, directory or wildcard pattern that describes what to upload'
|
||||
required: true
|
||||
if-no-files-found:
|
||||
description: 'The desired behavior if no files are found'
|
||||
required: false
|
||||
default: 'warn'
|
||||
retention-days:
|
||||
description: 'Duration after which artifact will expire in days'
|
||||
required: false
|
||||
compression-level:
|
||||
description: 'The level of compression for Zlib to be applied to the artifact archive'
|
||||
required: false
|
||||
default: '6'
|
||||
overwrite:
|
||||
description: 'If true, an artifact with a matching name will be deleted before a new one is uploaded'
|
||||
required: false
|
||||
default: 'false'
|
||||
|
||||
outputs:
|
||||
artifact-id:
|
||||
description: 'GitHub ID of an Artifact (not applicable for Gitea)'
|
||||
value: '0'
|
||||
artifact-url:
|
||||
description: 'URL to download an Artifact (not applicable for Gitea)'
|
||||
value: ''
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: Artifact upload skipped
|
||||
shell: bash
|
||||
run: |
|
||||
echo "ℹ️ Artifact upload skipped on Gitea (using no-op override)"
|
||||
echo " Name: ${{ inputs.name }}"
|
||||
echo " Path: ${{ inputs.path }}"
|
||||
echo ""
|
||||
echo " 💡 Tip: Use alternative storage or commit artifacts to repo if needed"
|
||||
Reference in New Issue
Block a user