From 2bc8e4bf53647d7f97010989a984c3cd9e556ffc Mon Sep 17 00:00:00 2001 From: lexikiq Date: Sat, 19 Jun 2021 18:39:26 -0400 Subject: [PATCH] Miscellaneous fixes --- .github/workflows/push-build.yml | 41 +++++++++++++++++++------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/.github/workflows/push-build.yml b/.github/workflows/push-build.yml index f08c7b3..2d9a1ba 100644 --- a/.github/workflows/push-build.yml +++ b/.github/workflows/push-build.yml @@ -9,28 +9,35 @@ jobs: strategy: matrix: - java: [15] + java: [16] + fail-fast: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v1 - with: - java-version: ${{ matrix.java }} + - name: Set up JDK ${{ matrix.java }} + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + distribution: 'adopt' - - uses: actions/cache@v2 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-maven- + - name: Cache gradle + uses: actions/cache@v2 + with: + path: | + ~/.gradle/caches + ~/.gradle/jdks + ~/.gradle/native + ~/.gradle/wrapper + key: ${{ runner.os }}-parchment-2-${{ hashFiles('**/*.gradle*', 'gradle/**', 'gradle.properties') }} + restore-keys: ${{ runner.os }}-parchment-2 - - name: Patch Parchment - run: | - git config --global user.email "you@example.com" - git config --global user.name "Your Name" - git submodule update --init --recursive - ./parchment ghjar + - name: Patch Parchment + run: | + git config --global user.email "no-reply@github.com" + git config --global user.name "GitHub Actions" + ./gradlew applyPatches + ./gradlew reobfJar - uses: actions/upload-artifact@v2 with: