Skip to content

chore: run data gen + link prism launchers alternatives list #570

chore: run data gen + link prism launchers alternatives list

chore: run data gen + link prism launchers alternatives list #570

Workflow file for this run

name: Build
on: [workflow_dispatch, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: temurin
cache: gradle
- name: Validate Gradle Wrapper Integrity
uses: gradle/wrapper-validation-action@v1
- name: Make Gradle wrapper executable
run: chmod +x ./gradlew
- name: Build & Publish to Maven
env:
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
run: ./gradlew build :fabric:publish :forge:publish
- name: Collect built jars
run: ./gradlew moveBuiltJars
- name: Capture build artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: jars