Skip to content

feat(mod): 1.21.2 neoforge #41

feat(mod): 1.21.2 neoforge

feat(mod): 1.21.2 neoforge #41

Workflow file for this run

name: Publish Snapshot
on:
push:
branches:
- main
jobs:
build:
name: Publish Snapshot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: |
8
16
17
21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: false
- name: Build with Gradle
run: ./gradlew publish
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}