Skip to content

publish

publish #3

Workflow file for this run

name: publish
on: [ workflow_dispatch ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
cache-read-only: false
- name: :build
run: ./gradlew build
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: zume
path: "**/zume-*.jar"
- name: :publishMods
run: ./gradlew publishMods
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}