Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Publish Mod

Publish Mod #2

Workflow file for this run

name: Publish package to the GitHub Packages
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@2
- name: Publish package
uses: gradle/gradle-build-action@2
with:
arguments: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}