This repository has been archived by the owner on Feb 15, 2024. It is now read-only.
Update Upstream (Folia) #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build TenseiMC | |
on: [push] | |
jobs: | |
paperclip: | |
runs-on: ubuntu-22.04 | |
if: "!contains(github.event.commits[0].message, '[ci-skip]')" | |
steps: | |
- name: Checkout Git Repository | |
uses: actions/checkout@v2 | |
- name: Setup Java 17 | |
uses: actions/setup-java@v3.11.0 | |
with: | |
java-version: "17" | |
cache: "gradle" | |
distribution: "temurin" | |
- name: Configure Git User | |
run: git config --global user.email "actions@github.com" && git config --global user.name "Github Actions" | |
- name: ApplyPatches | |
run: ./gradlew applyPatches --stacktrace | |
- name: Build Paperclip jar | |
run: ./gradlew createReobfPaperclipJar --stacktrace | |
- name: Upload Paperclip jar | |
uses: actions/upload-artifact@v2 | |
with: | |
name: TenseiMC.jar | |
path: build/libs/TenseiMC-paperclip-*-reobf.jar |