Support establishing the actual level of compatibility #329
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: CI | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "v*" | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: coursier/cache-action@v5 | |
- uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: [email protected] | |
- name: Run tests | |
run: sbt scripted versionPolicyCheck | |
publish: | |
needs: test | |
if: github.event_name == 'push' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: coursier/cache-action@v5 | |
- uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: [email protected] | |
- uses: olafurpg/setup-gpg@v3 | |
- name: Release | |
run: sbt versionCheck ci-release | |
env: | |
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} |