Skip to content

Commit 29f48d6

Browse files
committed
WIP
1 parent 10e938a commit 29f48d6

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.github/workflows/eric-continuous-integration.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up JDK
2020
uses: actions/setup-java@v4
2121
with:
22-
java-version: '25'
22+
java-version: '21'
2323
distribution: 'temurin'
2424
cache: 'maven'
2525

@@ -42,6 +42,11 @@ jobs:
4242
path: ~/.m2/repository/org/springframework/ai
4343
retention-days: 1 # Intent is to share only with downstream jobs in this workflow
4444

45+
- name: Purge Spring AI Built Artifacts # We don't want the setup-java m2 cache to capture our products, only our deps
46+
run: |
47+
rm -fr ~/.m2/repository/org/springframework/ai
48+
49+
4550
test-ollama:
4651
name: Test Ollama
4752
runs-on: ubuntu-latest
@@ -62,7 +67,7 @@ jobs:
6267
- name: Set up JDK
6368
uses: actions/setup-java@v4
6469
with:
65-
java-version: '25'
70+
java-version: '21'
6671
distribution: 'temurin'
6772
cache: 'maven'
6873

@@ -107,7 +112,7 @@ jobs:
107112
- name: Set up JDK
108113
uses: actions/setup-java@v4
109114
with:
110-
java-version: '25'
115+
java-version: '21'
111116
distribution: 'temurin'
112117
cache: 'maven'
113118

@@ -152,7 +157,7 @@ jobs:
152157
- name: Set up JDK
153158
uses: actions/setup-java@v4
154159
with:
155-
java-version: '25'
160+
java-version: '21'
156161
distribution: 'temurin'
157162
cache: 'maven'
158163

@@ -197,7 +202,7 @@ jobs:
197202
- name: Set up JDK
198203
uses: actions/setup-java@v4
199204
with:
200-
java-version: '25'
205+
java-version: '21'
201206
distribution: 'temurin'
202207
cache: 'maven'
203208

@@ -248,7 +253,7 @@ jobs:
248253
- name: Set up JDK
249254
uses: actions/setup-java@v4
250255
with:
251-
java-version: '25'
256+
java-version: '21'
252257
distribution: 'temurin'
253258
cache: 'maven'
254259

@@ -260,15 +265,9 @@ jobs:
260265
restore-keys: |
261266
build-cache-${{ runner.os }}-
262267
263-
- name: Download Spring-AI Built Artifacts
264-
uses: actions/download-artifact@v4
265-
with:
266-
name: build-artifacts
267-
path: ~/.m2/repository/org/springframework/ai
268-
269268
- name: Deploy to Artifactory
270269
env:
271270
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
272271
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
273272
run: |
274-
./mvnw -s settings.xml --batch-mode -ntp -Dmaven.test.skip -Dmaven.javadoc.skip deploy
273+
./mvnw -s settings.xml --batch-mode -ntp -Dmaven.test.skip deploy

0 commit comments

Comments
 (0)