Switch to JDK14 for builds #114
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: Tag release | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: {} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '8' ] | |
scala: [ '2.12.18' ] | |
steps: | |
- name: Track version from core | |
id: set-version | |
run: echo "plugin_version=$(grep 'val guardrailCoreVersion = ' modules/core/build.sbt | grep -ho '\"[^\"]*\"' | sed 's/\"//g')" >> $GITHUB_OUTPUT | |
- name: Publish release notes | |
uses: release-drafter/release-drafter@v5 | |
with: | |
version: ${{ steps.set-version.outputs.plugin_version }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |