Merge pull request #2468 from mlachkar/fix-organize-imports #1048
This file contains hidden or 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@v7 | |
| with: | |
| fetch-depth: 0 | |
| - uses: coursier/setup-action@v3 | |
| with: | |
| apps: sbt | |
| jvm: temurin:17 # needed for scala 3.8+ modules, all others are producing Java 8 bytecode | |
| - 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 }} |