Skip to content

Commit

Permalink
upgrade actions
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Oct 30, 2023
1 parent 73ab65f commit a06792b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
persist-credentials: false
- uses: actions/setup-java@v3.13.0
with:
java-version: 11
distribution: temurin
java-version: 21
- name: Cache Gradle packages
uses: actions/cache@v3.3.2
with:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/upload_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v3.13.0
with:
java-version: 11
distribution: temurin
java-version: 21
- name: Upload to Sonatype
run: |
./gradlew publishMavenJavaPublicationToSonatypeStagingRepository \
Expand All @@ -35,7 +36,8 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v3.13.0
with:
java-version: 11
distribution: temurin
java-version: 21
- name: Release to Maven Central
run: |
./gradlew closeAndReleaseRepository \
Expand Down

0 comments on commit a06792b

Please sign in to comment.