Skip to content

Commit

Permalink
feat(github): consolidate gradle version detection configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalHonegger committed Feb 24, 2023
1 parent 89e8f1f commit 2ee8aef
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/gradle-dependency-submission.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Gradle Dependency Submission
on:
push:
Expand All @@ -12,23 +11,18 @@ jobs:
permissions:
contents: write
steps:
- name: Checkout Gradle Build Cache
uses: actions/cache@v3
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
!~/.gradle/wrapper/dists/**/gradle*.zip
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
gradle-${{ runner.os }}-
- name: 'Checkout Repository'
uses: actions/checkout@v3
distribution: temurin
java-version: 19
cache: gradle

- name: Run snapshot action
uses: mikepenz/gradle-dependency-submission@main
with:
gradle-build-module: |-
:Backend:bootstrap
gradle-build-configuration: |-
compileClasspath
sub-module-mode: 'INDIVIDUAL_DEEP'

0 comments on commit 2ee8aef

Please sign in to comment.