Skip to content

Remove reflection and annotation caller for nms #105

Remove reflection and annotation caller for nms

Remove reflection and annotation caller for nms #105

Workflow file for this run

name: Build gmc
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Build package
run: ./mvn.sh clean package
- name: Set build version
run: |
build_version=$(./mvn.sh initialize help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "BUILD_VERSION=$build_version" >> $GITHUB_ENV
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: GlobalMarketChest-${{ env.BUILD_VERSION }}
path: target/GlobalMarketChest-*.jar
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
generate_release_notes: true
files: target/GlobalMarketChest-*.jar