From 7534a7d14ee1e73720af356ca77d6e629d1b048e Mon Sep 17 00:00:00 2001 From: Snowykami Date: Fri, 20 Dec 2024 01:55:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20Liteyuki=20Python=20?= =?UTF-8?q?=E5=8C=85=E5=8F=91=E5=B8=83=E6=93=8D=E4=BD=9C=EF=BC=8C=E5=8C=85?= =?UTF-8?q?=E5=90=AB=E5=BF=85=E8=A6=81=E7=9A=84=E8=BE=93=E5=85=A5=E5=92=8C?= =?UTF-8?q?=E8=BE=93=E5=87=BA=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 27 +++++++++++++++++++++++++++ package.json | 12 ++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 action.yml create mode 100644 package.json diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..bb78b39 --- /dev/null +++ b/action.yml @@ -0,0 +1,27 @@ +name: 'liteyuki-pypi' +description: 'Publish your Python package to Liteyuki Registry' +author: 'LiteyukiStudio' + +inputs: + owner: + description: 'The owner of the repository.' + required: true + username: + description: 'Your Gitea username for authentication.' + required: true + token: + description: 'Your Gitea token for authentication.' + required: true + endpoint: + description: 'The endpoint of the Gitea server.' + required: false + default: 'https://git.liteyuki.icu/api/packages/{owner}/pypi' + +outputs: + result: + description: 'action-demo' + +runs: + using: node16 + main: 'dist/index.js' + diff --git a/package.json b/package.json new file mode 100644 index 0000000..6060eee --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "liteyuki-pypi", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC" +}