Skip to content

use setup-java instead of deprecated olafurpg/setup-scala (#352) #114

use setup-java instead of deprecated olafurpg/setup-scala (#352)

use setup-java instead of deprecated olafurpg/setup-scala (#352) #114

Workflow file for this run

name: Release
on:
push:
branches: [master]
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: 1.8
distribution: temurin
- uses: olafurpg/setup-gpg@v3
- name: Publish ${{ github.ref }}
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 }}