feat: add new Gitea workflows for Gradle build verification and jar file check
All checks were successful
Gitea Actions Demo / Build-Gradle (push) Successful in 2m7s
All checks were successful
Gitea Actions Demo / Build-Gradle (push) Successful in 2m7s
This commit is contained in:
15
.gitea/workflows/helper.yaml
Normal file
15
.gitea/workflows/helper.yaml
Normal file
@@ -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
|
||||||
@@ -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
|
name: Gitea Actions Demo2
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions2 🚀
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions2 🚀
|
||||||
on: workflow_dispatch
|
on: workflow_dispatch
|
||||||
Reference in New Issue
Block a user