Finalize support for helper and trusted roles #18
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: Build and Release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Extract version from pom.xml | |
id: version | |
run: | | |
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) | |
echo "PROJECT_VERSION=${VERSION}" >> $GITHUB_ENV | |
- name: Build with Maven | |
run: mvn clean package | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: FuturePlots-${{ env.PROJECT_VERSION }} | |
path: target/FuturePlots-${{ env.PROJECT_VERSION }}.jar |