Skip to content

Add new process plant test (#771) #10

Add new process plant test (#771)

Add new process plant test (#771) #10

name: Release to Github Packages
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3.6.0
with:
java-version: 11
distribution: 'temurin'
cache: 'maven'
- name: Get the version number from the pushed tag
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
- name: Deploy to Github Package Registry
env:
GITHUB_USERNAME: x-access-token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
mvn --settings settings.xml -Drevision=${{ steps.get_version.outputs.VERSION }} deploy