diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f762de9b18afce618b4ce98d6030c1f036f0bc3e --- /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: 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 + run: | + ls ${{ gitea.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file diff --git a/pom.xml b/pom.xml index eb78e7489008b0513ffc1d27b05d60003dbab622..b88a3fa8d9d5ccb12e645e3c7bd3468535d85b2f 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 + + + +