Skip to content

2.0-beta (NeoForge 1.20.4) #36

2.0-beta (NeoForge 1.20.4)

2.0-beta (NeoForge 1.20.4) #36

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 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Set up Gradle
uses: gradle/gradle-build-action@v2
- name: Generate data
run: ./gradlew runData
- 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@c0f30ad683340ba9a5374ba42157179f30171107
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.20.4
loaders: neoforge
dependencies: |
ae2(required){curseforge:223794}{modrinth:XxWD5pD3}
merequester(optional){curseforge:688367}{modrinth:E6BFl96N}