mirror of
https://github.com/xSquishyLiam/mc-GeyserModelEngine-plugin.git
synced 2025-12-19 14:59:19 +00:00
35 lines
718 B
YAML
35 lines
718 B
YAML
name: Auto Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
# Setup JDK
|
|
- name: Setup Java JDK
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: 17
|
|
distribution: 'zulu'
|
|
|
|
# Build
|
|
- name: Build with Gradle
|
|
run: gradle build
|
|
|
|
- name: Auto release
|
|
uses: "marvinpinto/action-automatic-releases@latest"
|
|
with:
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
automatic_release_tag: latest
|
|
prerelease: false
|
|
files: |
|
|
build/libs/GeyserModelEngine*.jar
|