feat: remove JDK setup steps from workflow and update Gradle verification command
Some checks failed
Gitea Actions Demo / Build-Gradle (push) Failing after 30s
Some checks failed
Gitea Actions Demo / Build-Gradle (push) Failing after 30s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user