Skip to content

MCG 1.5.1 for Minecraft 1.20.6 #10

MCG 1.5.1 for Minecraft 1.20.6

MCG 1.5.1 for Minecraft 1.20.6 #10

Workflow file for this run

name: Release CI
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Build
run: ./gradlew build
- name: Publish Assets to Platforms
uses: Kir-Antipov/mc-publish@v3.3
with:
modrinth-id: eVXHt0JE
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-id: 396948
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}