Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

publish

publish #9

Workflow file for this run

### Author: Frish2021 ###
name: publish
on:
release:
types: [ created ]
workflow_dispatch:
jobs:
build:
name: Publishing NBT to maven.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
java-version: '22'
distribution: 'temurin'
architecture: x64
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Publish package
run: ./gradlew publish
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}