Skip to content

Release

Release #39

Workflow file for this run

name: Release
on:
release:
types: [published]
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 21
distribution: 'temurin'
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
- name: Build release files
id: build
env:
FULLENG_VERSION: ${{ github.event.release.tag_name }}
run: ./gradlew build
- name: Publish release files
uses: Kir-Antipov/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
curseforge-id: 776293
curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }}
modrinth-id: 24BlI6Ao
modrinth-token: ${{ secrets.MODRINTH_API_KEY }}
game-versions: |
1.21
1.21.1
loaders: neoforge
dependencies: |
ae2(required){curseforge:223794}{modrinth:XxWD5pD3}
merequester(optional){curseforge:688367}{modrinth:E6BFl96N}