Skip to content

Merge pull request #180 from eed3si9n/wip/fix-release #114

Merge pull request #180 from eed3si9n/wip/fix-release

Merge pull request #180 from eed3si9n/wip/fix-release #114

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"