mirror of
https://github.com/BX-Team/DivineMC.git
synced 2025-12-25 09:49:28 +00:00
Initial Files
This commit is contained in:
28
.github/workflows/build.yml
vendored
Normal file
28
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Build
|
||||
on: push
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config --global user.email "no-reply@github.com"
|
||||
git config --global user.name "Github Actions"
|
||||
chmod +x gradlew
|
||||
- name: Patch
|
||||
run: |
|
||||
./gradlew applyPatches --stacktrace
|
||||
- name: Build
|
||||
run: |
|
||||
./gradlew createReobfPaperclipJar --stacktrace
|
||||
- name: Archive Paperclip
|
||||
uses: actions/upload-artifact@v3.1.0
|
||||
with:
|
||||
name: DivineMC-1.19.2
|
||||
path: build/libs/DivineMC-paperclip-1.19.2-R0.1-SNAPSHOT-reobf.jar
|
||||
Reference in New Issue
Block a user