Update munit to 1.3.5 #191
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: Sonatype Release | |
| on: | |
| push: | |
| branches: [ master ] | |
| tags: [ '*' ] | |
| jobs: | |
| release-tag: | |
| runs-on: ubuntu-latest | |
| name: ${{ startsWith(github.ref, 'refs/tags/') && 'Publish Tag as Release' || 'Publish Snapshot' }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - uses: coursier/cache-action@v8 | |
| - name: Import GPG key for signing the release | |
| uses: crazy-max/ghaction-import-gpg@v7 | |
| with: | |
| gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
| passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
| - uses: coursier/setup-action@v3.0.2 | |
| with: | |
| # Chimney 2.x targets -release 17 (Scala 3) / -release 11 (Scala 2.13) and its Scala 3.8 compiler | |
| # bridge is compiled for Java 17, so publishing must run on JDK 17+ (the old JDK 8 fails with | |
| # UnsupportedClassVersionError). The -release flags keep the emitted artifacts JDK 11/17 compatible. | |
| jvm: 'temurin:17' | |
| apps: sbt | |
| - name: Publish all projects | |
| run: sbt ci-release | |
| env: | |
| SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | |
| SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} |