From c93bc1f7c22aefd83d3b831e4d04bb0c6c4f3beb Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 27 Mar 2025 13:00:49 +0100 Subject: [PATCH] feat: add new Gitea workflows for Gradle build verification and jar file check --- .gitea/workflows/helper.yaml | 15 +++++++++++++++ .gitea/workflows/{action.yaml => plugins.yaml} | 17 ----------------- 2 files changed, 15 insertions(+), 17 deletions(-) create mode 100644 .gitea/workflows/helper.yaml rename .gitea/workflows/{action.yaml => plugins.yaml} (51%) diff --git a/.gitea/workflows/helper.yaml b/.gitea/workflows/helper.yaml new file mode 100644 index 0000000..75744c3 --- /dev/null +++ b/.gitea/workflows/helper.yaml @@ -0,0 +1,15 @@ +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +on: [push] + +jobs: + Build-Gradle: + runs-on: ubuntu-latest + container: + image: gitea.hessj.de/administrator/gradle:0.0.31 + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Verify Gradle Installation + run: cd "${{ gitea.workspace }}/helper" && /opt/gradle-8.13/bin/gradle wrapper && /opt/gradle-8.13/bin/gradle build --stacktrace --no-daemon \ No newline at end of file diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/plugins.yaml similarity index 51% rename from .gitea/workflows/action.yaml rename to .gitea/workflows/plugins.yaml index 7c49a70..4356fcf 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/plugins.yaml @@ -1,20 +1,3 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] - -jobs: - Build-Gradle: - runs-on: ubuntu-latest - container: - image: gitea.hessj.de/administrator/gradle:0.0.31 - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - - - name: Verify Gradle Installation - run: cd "${{ gitea.workspace }}/helper" && /opt/gradle-8.13/bin/gradle wrapper && /opt/gradle-8.13/bin/gradle build --stacktrace --no-daemon - - name: Gitea Actions Demo2 run-name: ${{ gitea.actor }} is testing out Gitea Actions2 🚀 on: workflow_dispatch