fix: update Gradle commands in workflow to use specific path for consistency
All checks were successful
Gitea Actions Demo / Build-Gradle (push) Successful in 1m58s

This commit is contained in:
Your Name
2025-03-27 12:53:59 +01:00
parent 5bed6219b1
commit f988db4bc0

View File

@@ -12,9 +12,6 @@ jobs:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: test
run: /opt/gradle-8.13/bin/gradle --version
- name: List files in the repository - name: List files in the repository
run: ls ${{ gitea.workspace }} run: ls ${{ gitea.workspace }}
@@ -22,7 +19,7 @@ jobs:
run: ls "${{ gitea.workspace }}/environmentex" run: ls "${{ gitea.workspace }}/environmentex"
- name: Verify Gradle Installation - name: Verify Gradle Installation
run: cd "${{ gitea.workspace }}/environmentex" && gradle wrapper && ./gradlew 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 }}