somewhat better default display names #16
Workflow file for this run
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: | |
tags: | |
- v*.*.* | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- java: 14 | |
scala: 2 | |
- java: 8 | |
scala: 3 | |
name: Scala v${{ matrix.scala }} / Java v${{ matrix.java }} | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Scala | |
uses: japgolly/setup-everything-scala@v3.1 | |
with: | |
java-version: adopt@1.${{ matrix.java }} | |
- name: Build and test | |
shell: bash | |
run: bin/ci ${{ matrix.scala }} | |
release: | |
needs: ci | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Scala | |
uses: japgolly/setup-everything-scala@v3.1 | |
- name: Release | |
run: cd library && sbt -v -J-Xmx6g ci-release | |
env: | |
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} |