From f1168ab465fae641f83622e59f9eea0befc3a03f Mon Sep 17 00:00:00 2001 From: actions-mirror Date: Sun, 8 Mar 2026 02:01:18 +0000 Subject: [PATCH] Initialize with override content --- README.md | 2 -- action.yml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 2 deletions(-) delete mode 100644 README.md create mode 100644 action.yml diff --git a/README.md b/README.md deleted file mode 100644 index e9ee951..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# upload-artifact - diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..61875d3 --- /dev/null +++ b/action.yml @@ -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"