Skip to content

3.0.1-beta (NeoForge 1.20.4) #76

3.0.1-beta (NeoForge 1.20.4)

3.0.1-beta (NeoForge 1.20.4) #76

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 Java
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:
MEGA_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: 622112
curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }}
modrinth-id: jjuIRIVr
modrinth-token: ${{ secrets.MODRINTH_API_KEY }}
game-versions: 1.20.4
loaders: neoforge
dependencies: |
ae2(required){curseforge:223794}{modrinth:XxWD5pD3}
appmek(optional){curseforge:574300}{modrinth:IiATswDj}
ae2wtlib(optional){curseforge:459929}{modrinth:pNabrMMw}
# appbot(optional){curseforge:610632}{modrinth:545hUrw9}
# arseng(optional){curseforge:905641}{modrinth:IJI3QuK8}