Skip to content

Merge pull request #428 from scalacenter/update/sbt-ci-release-1.6.0 #336

Merge pull request #428 from scalacenter/update/sbt-ci-release-1.6.0

Merge pull request #428 from scalacenter/update/sbt-ci-release-1.6.0 #336

Workflow file for this run

name: Release
on:
push:
branches: [main]
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: coursier/setup-action@v1
- uses: olafurpg/setup-gpg@v3
- run: git fetch --unshallow
- 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 }}