Skip to content

Add task versionPolicyExportCompatibilityReport to export the compatibility reports in a machine-readable format (JSON) #350

Add task versionPolicyExportCompatibilityReport to export the compatibility reports in a machine-readable format (JSON)

Add task versionPolicyExportCompatibilityReport to export the compatibility reports in a machine-readable format (JSON) #350

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@v2
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: adopt
cache: 'sbt'
- 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: actions/setup-java@v3
with:
java-version: 11
distribution: adopt
cache: 'sbt'
- 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 }}