feat: update Gitea workflow to verify Gradle installation and remove obsolete JAR files
This commit is contained in:
@@ -8,18 +8,26 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: gitea.hessj.de/administrator/gradle:0.0.31
|
image: gitea.hessj.de/administrator/gradle:0.0.31
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: List files in the repository
|
- name: Verify Gradle Installation
|
||||||
run: ls ${{ gitea.workspace }}
|
run: cd "${{ gitea.workspace }}/helper" && /opt/gradle-8.13/bin/gradle wrapper && /opt/gradle-8.13/bin/gradle build --stacktrace --no-daemon
|
||||||
|
|
||||||
- name: List files in the repository
|
|
||||||
run: ls "${{ gitea.workspace }}/environmentex"
|
name: Gitea Actions Demo2
|
||||||
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions2 🚀
|
||||||
|
on: workflow_dispatch
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Build-Gradle:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: gitea.hessj.de/administrator/gradle:0.0.31
|
||||||
|
steps:
|
||||||
|
|
||||||
- name: Verify Gradle Installation
|
- name: Verify Gradle Installation
|
||||||
run: cd "${{ gitea.workspace }}/environmentex" && /opt/gradle-8.13/bin/gradle wrapper && /opt/gradle-8.13/bin/gradle build --stacktrace --no-daemon
|
run: cd "${{ gitea.workspace }}/environmentex" && /opt/gradle-8.13/bin/gradle wrapper && /opt/gradle-8.13/bin/gradle build --stacktrace --no-daemon
|
||||||
|
|
||||||
- name: show if jar is built
|
- name: show if jar is built
|
||||||
run: ls ${{ gitea.workspace }}
|
run: ls ${{ gitea.workspace }}
|
||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user