Skip to content

publish

publish #9

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 }}
game-versions: [1.21.2, 1.21.3]

Check failure on line 33 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / publish

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 33, Col: 26): A sequence was not expected
version-type: beta