Skip to content

Commit

Permalink
Remove cache and change shadowJar module in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravis96 committed Jun 2, 2024
1 parent 2782ef0 commit 7b164f4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,11 @@ jobs:
distribution: adopt
java-version: '17'

- name: Cache Gradle
uses: actions/cache@v4.0.2
with:
path: ~/.gradle/caches
key: >-
${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*',
'**/gradle-wrapper.properties') }}
restore-keys: '${{ runner.os }}-gradle-'

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew clean shadowJar
run: ./gradlew clean plugin-core:shadowJar

- name: Upload JAR file
uses: actions/upload-artifact@v4.3.3
Expand Down

0 comments on commit 7b164f4

Please sign in to comment.