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