Skip to content

Merge pull request #327 from scala-steward/update/sbt-ci-release-1.6.1 #387

Merge pull request #327 from scala-steward/update/sbt-ci-release-1.6.1

Merge pull request #327 from scala-steward/update/sbt-ci-release-1.6.1 #387

Workflow file for this run

name: Release
on: # yamllint disable-line rule:truthy
push:
branches: main
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: sbt
- 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 }}