Skip to content

Commit

Permalink
Try using gradle cache in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
renao authored Mar 6, 2024
1 parent bac0eb2 commit 52951d9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,19 @@ jobs:

deploy-jar:
runs-on: ubuntu-latest
needs: [build, test]
needs: [build]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
- name: Upload JAR
uses: actions/upload-artifact@v4
with:
name: "Editor.jar"
name: Editor-${{ github.sha }}.jar
path: build/libs/*.jar

0 comments on commit 52951d9

Please sign in to comment.