Skip to content

Add support for loading legacy plugins #12

Add support for loading legacy plugins

Add support for loading legacy plugins #12

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
permissions: write-all
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Determine release version
id: release-version
run: |
echo "VERSION=$(mvn help:evaluate '-Dexpression=project.version' -q -DforceStdout)" >> $env:GITHUB_OUTPUT
- run: mkdir staging && cp target/*.* staging && rm staging/original* && rm staging/*shaded*
- uses: actions/upload-artifact@v4
with:
name: Package
path: staging
- name: Release
uses: softprops/action-gh-release@v1
with:
name: JDigitalSimulator v${{ steps.release-version.outputs.VERSION }}
tag_name: ${{ steps.release-version.outputs.VERSION }}
draft: true
files: staging/*
fail_on_unmatched_files: true
body: "[${{ github.event.head_commit.message }}](https://github.com/kristian/JDigitalSimulator/commit/${{ github.event.head_commit.id }})"