Skip to content

Update scala-library to 2.12.20 #93

Update scala-library to 2.12.20

Update scala-library to 2.12.20 #93

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags:
- "v*"
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
jvm: 8
- name: Compile
run: sbt +test +mimaReportBinaryIssues "readme/run --check"
publish:
needs: test
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
jvm: 8
- run: .github/scripts/gpg-setup.sh
env:
PGP_SECRET: ${{ secrets.PUBLISH_SECRET_KEY }}
- name: Release
run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PUBLISH_SECRET_KEY_PASSWORD }}
PGP_SECRET: ${{ secrets.PUBLISH_SECRET_KEY }}
SONATYPE_PASSWORD: ${{ secrets.PUBLISH_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.PUBLISH_USER }}