Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build): Enable maven cache #830

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'

# Install dependencies
- run: yarn
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
with:
distribution: "temurin"
java-version: "21"
cache: 'maven'

- name: "🔧 Install dependencies"
run: yarn
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -79,6 +80,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'

- name: 🗄️ Download the UI build folder
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -137,6 +139,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'

- name: 🗄️ Download the UI build folder
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -195,6 +198,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'

- name: 🗄️ Download the UI build folder
uses: actions/download-artifact@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'

- name: 🔧 Install dependencies
run: yarn
Expand Down Expand Up @@ -97,6 +98,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'

- name: 🔧 Install dependencies
run: yarn
Expand All @@ -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: |
Expand Down
Loading