Skip to content

Switch to JDK14 for builds #114

Switch to JDK14 for builds

Switch to JDK14 for builds #114

Workflow file for this run

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 }}