Skip to content

Commit

Permalink
Fix both workflows' gradle setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdragh committed May 27, 2024
1 parent 1f74556 commit 0dd3349
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/setup-gradle@v3
uses: gradle/actions/setup-gradle@v3

- name: Build with Gradle
run: ./gradlew build
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ jobs:
dependencies:
runs-on: ubuntu-latest
steps:
- name: checkout repository
- name: Checkout repository
uses: actions/checkout@v4

- name: setup jdk 17
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'temurin'

- name: Build with Gradle and generate dependency Graph
uses: gradle/gradle-build-action@v2
with:
arguments: dependencies
dependency-graph: 'generate-and-submit'
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v3

0 comments on commit 0dd3349

Please sign in to comment.