Skip to content

Merge branch 'minecraft/1.20' of https://github.com/Suff99/TardisRefi… #18

Merge branch 'minecraft/1.20' of https://github.com/Suff99/TardisRefi…

Merge branch 'minecraft/1.20' of https://github.com/Suff99/TardisRefi… #18

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 }}