Skip to content

Support 1.21.2 patch #69

Support 1.21.2 patch

Support 1.21.2 patch #69

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: SetupJDK
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'temurin'
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build
uses: gradle/gradle-build-action@v2
with:
gradle-version: wrapper
arguments: "publishNukkitPublicationToOpencollabRepository"
env:
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.caching=true -Dorg.gradle.welcome=never"
DEPLOY_USERNAME: ${{ vars.OPENCOLLAB_USERNAME }}
DEPLOY_PASSWORD: ${{ secrets.OPENCOLLAB_PASSWORD }}