From 95c181b87c44a41e969f2619af3b7e2056696bb5 Mon Sep 17 00:00:00 2001 From: erabii Date: Mon, 25 Sep 2023 11:12:25 +0300 Subject: [PATCH] fix build failure related to stale versions in the cache (#1449) --- .../maven-build-with-dry-run-for-tests/action.yaml | 4 ++-- .github/workflows/composites/pre-test-actions/action.yaml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/composites/maven-build-with-dry-run-for-tests/action.yaml b/.github/workflows/composites/maven-build-with-dry-run-for-tests/action.yaml index 3230b5945f..202705c0d4 100644 --- a/.github/workflows/composites/maven-build-with-dry-run-for-tests/action.yaml +++ b/.github/workflows/composites/maven-build-with-dry-run-for-tests/action.yaml @@ -4,13 +4,13 @@ runs: using: "composite" steps: - - name: run 'package' on the project + - name: run 'install' on the project shell: bash run: | ./mvnw install -B \ -Dskip.build.image=true \ -DskipTests -DskipITs \ - -T 1C -q + -T 1C -U -q - name: find all classpath entries shell: bash diff --git a/.github/workflows/composites/pre-test-actions/action.yaml b/.github/workflows/composites/pre-test-actions/action.yaml index d2bb6b96b9..657c55e886 100644 --- a/.github/workflows/composites/pre-test-actions/action.yaml +++ b/.github/workflows/composites/pre-test-actions/action.yaml @@ -22,6 +22,11 @@ runs: - name: cache local maven repository uses: ./.github/workflows/composites/cache + - name: build project + shell: bash + run: | + ./mvnw clean install -Dskip.build.image=true -DskipITs -DskipTests -T1C -U -B -q + - name: build controllers project uses: ./.github/workflows/composites/build-controllers-project