From 31d6e1248ed520cdbc02685abec059af1f8cb910 Mon Sep 17 00:00:00 2001 From: "zhiwei.yang" Date: Thu, 29 Jan 2026 17:12:21 +0800 Subject: [PATCH 1/3] add maven source plugin --- pom.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pom.xml b/pom.xml index eb78e74..b88a3fa 100644 --- a/pom.xml +++ b/pom.xml @@ -36,6 +36,19 @@ org.springframework.boot spring-boot-maven-plugin + + org.apache.maven.plugins + maven-source-plugin + + + + attach-sources + + jar + + + + -- Gitee From 391b2bd7367ed6ec0f24c72f4628c073debacc43 Mon Sep 17 00:00:00 2001 From: "zhiwei.yang" Date: Mon, 2 Feb 2026 18:38:56 +0800 Subject: [PATCH 2/3] add gitea-ci.yaml --- .gitea/workflows/gitea-ci.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/gitea-ci.yaml diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml new file mode 100644 index 0000000..394c807 --- /dev/null +++ b/.gitea/workflows/gitea-ci.yaml @@ -0,0 +1,19 @@ +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +on: [push] + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file -- Gitee From d20e0255c0c81753c1b33e8b933f80bad18194bc Mon Sep 17 00:00:00 2001 From: "zhiwei.yang" Date: Mon, 2 Feb 2026 19:13:53 +0800 Subject: [PATCH 3/3] add maven source plugin --- .gitea/workflows/gitea-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml index 394c807..f762de9 100644 --- a/.gitea/workflows/gitea-ci.yaml +++ b/.gitea/workflows/gitea-ci.yaml @@ -10,7 +10,7 @@ jobs: - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - name: Check out repository code - uses: actions/checkout@v4 + uses: gitea.example.com/yangzhiwei256/checkout@v4 - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." - name: List files in the repository -- Gitee