diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index d1c79b31a..1ab781233 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -23,6 +23,7 @@ jobs: with: distribution: 'temurin' java-version: '21' + cache: 'maven' # Install dependencies - run: yarn diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 8bd14d152..d82258135 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -38,6 +38,7 @@ jobs: with: distribution: 'temurin' java-version: '21' + cache: 'maven' # 👇 Install dependencies with the same package manager used in the project (replace it as needed), e.g. yarn, npm, pnpm - name: Install dependencies diff --git a/.github/workflows/deploy-main.yml b/.github/workflows/deploy-main.yml index 9e7faee36..c8fc63128 100644 --- a/.github/workflows/deploy-main.yml +++ b/.github/workflows/deploy-main.yml @@ -36,6 +36,7 @@ jobs: with: distribution: "temurin" java-version: "21" + cache: 'maven' - name: "🔧 Install dependencies" run: yarn diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index e078054fa..6afb9775a 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -33,11 +33,12 @@ jobs: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '21' + cache: 'maven' # Install dependencies - run: yarn install --immutable @@ -79,6 +80,7 @@ jobs: with: distribution: 'temurin' java-version: '21' + cache: 'maven' - name: 🗄️ Download the UI build folder uses: actions/download-artifact@v4 @@ -137,6 +139,7 @@ jobs: with: distribution: 'temurin' java-version: '21' + cache: 'maven' - name: 🗄️ Download the UI build folder uses: actions/download-artifact@v4 @@ -195,6 +198,7 @@ jobs: with: distribution: 'temurin' java-version: '21' + cache: 'maven' - name: 🗄️ Download the UI build folder uses: actions/download-artifact@v4 diff --git a/.github/workflows/release-pipeline.yml b/.github/workflows/release-pipeline.yml index 53725b83c..2ff320043 100644 --- a/.github/workflows/release-pipeline.yml +++ b/.github/workflows/release-pipeline.yml @@ -59,6 +59,7 @@ jobs: with: distribution: 'temurin' java-version: '21' + cache: 'maven' - name: 🔧 Install dependencies run: yarn @@ -97,6 +98,7 @@ jobs: with: distribution: 'temurin' java-version: '21' + cache: 'maven' - name: 🔧 Install dependencies run: yarn @@ -121,7 +123,7 @@ jobs: shell: bash run: | docker push quay.io/kaotoio/kaoto-app:${{ github.event.inputs.tag_version }} - + - name: "🔧 Build Container Image" shell: bash run: |