Skip to content

Release v2.4.0

Release v2.4.0 #147

Workflow file for this run

on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- uses: gradle/actions/wrapper-validation@v3
- uses: gradle/actions/setup-gradle@v3
- name: Build
run: ./gradlew build
- name: Publish
run: ./gradlew publish publishAllPublicationsToHangar
env:
ORG_GRADLE_PROJECT_MGDevUsername: ${{ secrets.MAVEN_USERNAME }}
ORG_GRADLE_PROJECT_MGDevPassword: ${{ secrets.MAVEN_PASSWORD }}
HANGAR_API_TOKEN: ${{ secrets.HANGAR_API_TOKEN }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
- uses: actions/upload-artifact@v4
with:
name: Package
path: easyarmorstands-plugin/build/EasyArmorStands-*.jar