Skip to content

Commit

Permalink
Fix setup gradle step again
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdragh committed Jan 17, 2024
1 parent 7bb1301 commit d63146c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,17 @@ jobs:
java-version: ${{ matrix.java }}
distribution: 'temurin'

- name: setup gradle with dependency graph
if: github.ref == 'refs/heads/develop'
uses: gradle/gradle-build-action@v2
with:
dependency-graph: generate-and-submit

- name: setup gradle
if: github.ref != 'refs/heads/develop'
uses: gradle/gradle-build-action@v2
with:
dependency-graph: ${{ github.ref == 'refs/heads/develop' && generate-and-submit || generate-and-upload }}
dependency-graph: generate-and-upload

- name: gradle clean build
run: ./gradlew clean build
Expand Down

0 comments on commit d63146c

Please sign in to comment.