Skip to content

Merge pull request #2081 from bjaglin/canonicalpatterns #742

Merge pull request #2081 from bjaglin/canonicalpatterns

Merge pull request #2081 from bjaglin/canonicalpatterns #742

Workflow file for this run

name: Release
on:
push:
branches: [main]
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: coursier/setup-action@v1
with:
jvm: temurin:8
- uses: olafurpg/setup-gpg@v3
- name: Check that major or minor was bumped upon compatibility breakage
if: startsWith(github.ref, 'refs/tags/v')
run: sbt versionCheck
- 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 }}