From 79db6e6c76ad75e6fb674ab6e8da94fe4fe1e706 Mon Sep 17 00:00:00 2001 From: NONPLAYT Date: Mon, 14 Nov 2022 23:53:14 +0300 Subject: [PATCH] some updates --- .github/workflows/build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0179f6..82cf7c4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,23 +13,22 @@ jobs: steps: - uses: actions/checkout@v2 - uses: gradle/wrapper-validation-action@v1 + - name: Setup JDK 17 uses: actions/setup-java@v2 with: distribution: temurin java-version: 17 + cache: 'gradle' - name: Configure Git run: | - git config --global user.email "no-reply@github.com" - git config --global user.name "Github Actions" + git config --global user.email "no-reply@github.com" && git config --global user.name "Github Actions" + echo "workflow=$GITHUB_RUN_NUMBER" >> $GITHUB_ENV chmod +x gradlew - name: Patch run: ./gradlew applyPatches --stacktrace - - - name: Build - run: ./gradlew build --stacktrace - name: Create Reobf Jar run: ./gradlew createReobfPaperclipJar --stacktrace