From d4882df83707b089a077072bc6df932f2cdd478d Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Wed, 25 Dec 2024 21:44:11 +0000 Subject: [PATCH 1/2] Update build.yml --- .github/workflows/build.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddaf9108c58..18bc802725d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,14 +35,16 @@ jobs: java-version: ${{ matrix.jdk-version }} distribution: "temurin" - - name: Set up Gradle - uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2 - with: - gradle-version: 8.7 - - - name: Build with Gradle - run: ./gradlew build --no-build-cache - + - name: Build with Gradle and no spring security + run: ./gradlew clean build + env: + DOCKER_ENABLE_SECURITY: false + + - name: Build with Gradle and with spring security + run: ./gradlew clean build + env: + DOCKER_ENABLE_SECURITY: false + docker-compose-tests: # if: github.event_name == 'push' && github.ref == 'refs/heads/main' || # (github.event_name == 'pull_request' && From a4ddb5f1af5a711c9bd24b9887f33e2df5595672 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Wed, 25 Dec 2024 21:44:34 +0000 Subject: [PATCH 2/2] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18bc802725d..b5a0784bb06 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: - name: Build with Gradle and with spring security run: ./gradlew clean build env: - DOCKER_ENABLE_SECURITY: false + DOCKER_ENABLE_SECURITY: true docker-compose-tests: # if: github.event_name == 'push' && github.ref == 'refs/heads/main' ||