feat: remove JDK setup steps from workflow and update Gradle verification command
Some checks failed
Gitea Actions Demo / Build-Gradle (push) Failing after 30s

This commit is contained in:
Your Name
2025-03-27 11:38:44 +01:00
parent 01a773dcd1
commit 0399cf26db

View File

@@ -10,20 +10,6 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Cache JDK
uses: actions/cache@v3
with:
path: |
~/.sdkman/candidates/java
key: jdk-${{ runner.os }}-oracle-21
restore-keys: jdk-${{ runner.os }}-
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '21'
- name: List files in the repository
run: ls ${{ gitea.workspace }}
@@ -31,5 +17,4 @@ jobs:
run: ls "${{ gitea.workspace }}/environmentex"
- name: Verify Gradle Installation
run: cd "${{ gitea.workspace }}/environmentex" && gradle build
run: cd "${{ gitea.workspace }}/environmentex" && gradle --version