Skip to content

Merge pull request #179 from LewMC/crowdin #582

Merge pull request #179 from LewMC/crowdin

Merge pull request #179 from LewMC/crowdin #582

Workflow file for this run

name: Maven Build
on:
push:
branches:
- "*"
paths-ignore:
- '**/*.md'
- '**/*.txt'
- '**/*.xml'
- '**/*.json'
- '**/*.html'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository 📡
uses: actions/checkout@v4
- name: Set up JDK 21 🔧
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Build with Maven 🏗️
run: mvn -B package --file pom.xml
- name: Extract Version from pom.xml 📄
id: extract_version
run: echo "VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
- name: Upload Plugin jar 📁
uses: actions/upload-artifact@v4
with:
name: essence-${{ env.VERSION }}.jar
path: /home/runner/work/Essence/Essence/target/essence-${{ env.VERSION }}.jar