Files
upload-artifact/action.yml
2026-03-08 02:01:18 +00:00

48 lines
1.4 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: '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"