Skip to content

Fixed ChunkManager.sendMapChunk #11

Fixed ChunkManager.sendMapChunk

Fixed ChunkManager.sendMapChunk #11

Workflow file for this run

name: Bump and Publish Master Branch
on:
pull_request:
types:
- closed
workflow_dispatch:
jobs:
bump:
if: github.event.pull_request.merged
runs-on: ubuntu-latest
steps:
- name: Checkout Latest Commit
uses: actions/checkout@v4.1.3
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Bump Version
id: bump
uses: Plugily-Projects/version-bump-action@v8
with:
github-token: ${{ secrets.github_token }}
auto-version-bump: false
auto-version-bump-release: true
- name: Print Version
run: "echo 'New Version: ${{steps.bump.outputs.version}}'"
publish:
needs: bump
runs-on: ubuntu-latest
steps:
- name: Checkout Latest Commit
uses: actions/checkout@v4.1.3
with:
ref: 'master'
- name: Set up JDK
uses: actions/setup-java@v4.2.1
with:
distribution: 'temurin'
java-version: '17'
java-package: jdk
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish with Gradle
run: ./gradlew publishMavenPublicationToReleasesRepository
env:
MAVEN_USERNAME: ${{ secrets.RELEASESUSERNAME }}
MAVEN_PASSWORD: ${{ secrets.RELEASESPASSWORD }}