Skip to content

publish

publish #11

Workflow file for this run

name: publish
on: [workflow_dispatch]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: true
- name: setup Java
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'microsoft'
- name: exe
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: build
run: ./gradlew clean build
- name: release
uses: Kir-Antipov/[email protected]
with:
modrinth-id: xennote
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
github-token: ${{ secrets.GAYHUB_TOKEN }}
version-type: beta