Skip to content

Update sbt-projectmatrix to 0.9.2 #93

Update sbt-projectmatrix to 0.9.2

Update sbt-projectmatrix to 0.9.2 #93

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
tags: ["v*"]
pull_request:
branches: ["*"]
jobs:
build:
name: Tests
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: coursier/cache-action@v3
- uses: olafurpg/setup-scala@v10
with:
java-version: [email protected]
- name: Tests
run: sbt ci
release:
name: Release
needs: [build]
if: startsWith(github.ref, 'refs/tags/v') || (github.ref == 'refs/heads/master')
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: coursier/cache-action@v3
- uses: olafurpg/setup-scala@v10
with:
java-version: [email protected]
- run: git fetch --unshallow
- 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 }}