From 4e7d0bd93c20d3c10758406a3d67f4be267c5c1b Mon Sep 17 00:00:00 2001 From: kross <135918757+krossgg@users.noreply.github.com> Date: Sat, 1 Feb 2025 01:42:57 -0500 Subject: [PATCH] Fix spotless in GH Actions (#2811) --- .github/workflows/auto-build.yml | 1 + .github/workflows/format-java.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/auto-build.yml b/.github/workflows/auto-build.yml index db319f29df..b3fe864520 100644 --- a/.github/workflows/auto-build.yml +++ b/.github/workflows/auto-build.yml @@ -30,6 +30,7 @@ jobs: - name: Version Suffix id: suffix run: echo "VERSION_SUFFIX=$(echo "${{ github.sha }}" | cut -c 1-7)" >> $GITHUB_ENV + - run: git fetch origin 1.20.1 - name: Build run: ./gradlew build --build-cache - name: Publish to Maven diff --git a/.github/workflows/format-java.yml b/.github/workflows/format-java.yml index 44ec187744..262e441d77 100644 --- a/.github/workflows/format-java.yml +++ b/.github/workflows/format-java.yml @@ -29,6 +29,8 @@ jobs: code: - 'src/main/java/**' - 'src/test/**' + - run: git fetch origin 1.20.1 + if: steps.filter.outputs.code == 'true' - name: Setup Build if: steps.filter.outputs.code == 'true' uses: ./.github/actions/build_setup