Skip to content

Merge remote-tracking branch 'origin/minecraft/1.20' into minecraft/1.20 #26

Merge remote-tracking branch 'origin/minecraft/1.20' into minecraft/1.20

Merge remote-tracking branch 'origin/minecraft/1.20' into minecraft/1.20 #26

Workflow file for this run

name: Publish to Maven Repository
on:
push:
branches:
- minecraft/1.20
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
- name: Make Gradlew Executable
run: chmod +x ./gradlew
- name: Build and Publish
run: |
./gradlew publish
env:
MAVEN_REPO_USERNAME: ${{ secrets.MAVEN_REPO_USERNAME }}
MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }}