mirror of
https://github.com/BX-Team/DivineMC.git
synced 2025-12-23 16:59:24 +00:00
some updates
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -13,23 +13,22 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: gradle/wrapper-validation-action@v1
|
- uses: gradle/wrapper-validation-action@v1
|
||||||
|
|
||||||
- name: Setup JDK 17
|
- name: Setup JDK 17
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
cache: 'gradle'
|
||||||
|
|
||||||
- name: Configure Git
|
- name: Configure Git
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "no-reply@github.com"
|
git config --global user.email "no-reply@github.com" && git config --global user.name "Github Actions"
|
||||||
git config --global user.name "Github Actions"
|
echo "workflow=$GITHUB_RUN_NUMBER" >> $GITHUB_ENV
|
||||||
chmod +x gradlew
|
chmod +x gradlew
|
||||||
|
|
||||||
- name: Patch
|
- name: Patch
|
||||||
run: ./gradlew applyPatches --stacktrace
|
run: ./gradlew applyPatches --stacktrace
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: ./gradlew build --stacktrace
|
|
||||||
|
|
||||||
- name: Create Reobf Jar
|
- name: Create Reobf Jar
|
||||||
run: ./gradlew createReobfPaperclipJar --stacktrace
|
run: ./gradlew createReobfPaperclipJar --stacktrace
|
||||||
|
|||||||
Reference in New Issue
Block a user