Merge pull request #2141 from scalacenter/update/coursier-2.1.21 #784
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |