Skip to content

Let's speak Chinese! 让我们说中文! #13

Let's speak Chinese! 让我们说中文!

Let's speak Chinese! 让我们说中文! #13

Workflow file for this run

name: Build 1.20.1
on:
push:
branches: 1.20.1/main
pull_request:
branches: 1.20.1/main
workflow_dispatch:
env:
JAVA_VERSION: 17
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Environment Variables
run: env
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: true
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 17
- name: Make Gradle Wrapper Executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Build
run: ./gradlew clean build
- name: mergeJars
run: ./gradlew mergeJars
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: artifact
path: |
./Merged/*
./common/build/libs/*
./fabric/build/libs/*
./forge/build/libs/*