Skip to content

Merge pull request #1096 from hugo-vrijswijk/router-transition #18

Merge pull request #1096 from hugo-vrijswijk/router-transition

Merge pull request #1096 from hugo-vrijswijk/router-transition #18

Workflow file for this run

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/[email protected]
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/[email protected]
- 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 }}