Skip to content

Commit

Permalink
Merge pull request #45 from i10416/tidy/remove-setup-scala-action
Browse files Browse the repository at this point in the history
tidy(ci): replace setup-scala with setup java
  • Loading branch information
i10416 authored Nov 7, 2023
2 parents aaba46c + ee53b39 commit 30d3635
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Setup Java 11
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- run: sbt +test
publish:
needs: test
Expand All @@ -18,12 +23,14 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v13
- name: Setup Java 11
uses: actions/setup-java@v3
with:
java-version: adopt@1.11
distribution: temurin
java-version: 11
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

0 comments on commit 30d3635

Please sign in to comment.