Skip to content

Merge pull request #193 from scala-steward-bot/update/sbt-ci-release-… #119

Merge pull request #193 from scala-steward-bot/update/sbt-ci-release-…

Merge pull request #193 from scala-steward-bot/update/sbt-ci-release-… #119

Workflow file for this run

name: Release
on:
push:
branches: ["master", "main"]
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: 8
distribution: adopt
cache: sbt
- run: sbt -Dsbt.io.jdktimestamps=true ci-release
if: ${{ github.repository_owner == 'sbt' }}
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
CI_RELEASE: "^ publishSigned"