Skip to content

Lithium 0.14.2 for Minecraft 1.21.1 Fabric and Neoforge #90

Lithium 0.14.2 for Minecraft 1.21.1 Fabric and Neoforge

Lithium 0.14.2 for Minecraft 1.21.1 Fabric and Neoforge #90

Workflow file for this run

name: Release CI
on:
release:
types:
- published
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Upload assets to CurseForge
run: ./gradlew build
env:
BUILD_RELEASE: ${{ github.event.prerelease == false }}
- name: Upload assets to GitHub
uses: AButler/upload-release-assets@v3.0
with:
files: 'build/libs/*.jar;!build/libs/*-dev.jar;LICENSE'
repo-token: ${{ secrets.GITHUB_TOKEN }}