Skip to content

0.1.0alpha3+mc1.21.3 #11

0.1.0alpha3+mc1.21.3

0.1.0alpha3+mc1.21.3 #11

Workflow file for this run

name: Publish package to CloudSmith Maven
on:
workflow_dispatch:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Publish package
run: |
chmod +x gradlew
./gradlew publish
env:
CLOUDSMITH_MAVEN_TOKEN: ${{ secrets.CLOUDSMITH_MAVEN_TOKEN }}