Skip to content

Merge pull request #1 from nilathedragon/feature/minestom #23

Merge pull request #1 from nilathedragon/feature/minestom

Merge pull request #1 from nilathedragon/feature/minestom #23

Workflow file for this run

name: Publish Snapshot
on:
push:
branches:
- main
jobs:
build:
name: Publish Snapshot
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: |
8
16
17
- name: Print Java Toolchain
uses: gradle/gradle-build-action@v2
with:
arguments: javaToolchains
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
with:
arguments: publish