diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cccd049..61256e6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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 }} \ No newline at end of file + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}