Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
use setup-java instead of deprecated olafurpg/setup-scala
  • Loading branch information
xuwei-k committed Oct 15, 2023
commit 87c8d50718e1a17d12cd66b828aa29f1d4754063
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ jobs:
# Fetch all tags so that sbt-dynver can find the previous release version
- run: git fetch --tags -f
# Install OpenJDK 8
- uses: olafurpg/setup-scala@v10
- uses: actions/setup-java@v3
with:
# We need to use JDK8 for Android compatibility https://github.com/msgpack/msgpack-java/issues/516
java-version: adopt@1.8
java-version: 8
distribution: adopt
- name: Setup GPG
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
fetch-depth: 10000
# Fetch all tags so that sbt-dynver can find the previous release version
- run: git fetch --tags
- uses: olafurpg/setup-scala@v10
- uses: actions/setup-java@v3
with:
java-version: adopt@1.11
java-version: 11
distribution: adopt
- name: Publish snapshots
env:
SONATYPE_USERNAME: '${{ secrets.SONATYPE_USER }}'
Expand Down