Skip to content

Commit 1db4f7b

Browse files
committed
Java 21
1 parent ac6f8f1 commit 1db4f7b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/deploy-java-cf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
cache: npm
2929
- uses: actions/setup-java@v5
3030
with:
31-
distribution: temurin
31+
distribution: sapmachine
3232
java-version: 21
3333
cache: maven
3434
- run: npm ci
@@ -48,7 +48,7 @@ jobs:
4848
BROKER_SERVICE_ID: ${{ secrets.BROKER_SERVICE_ID }}
4949
BROKER_SERVICE_PLAN_ID: ${{ secrets.BROKER_SERVICE_PLAN_ID }}
5050
- name: Unit Test
51-
run: npm test
51+
run: mvn test -B
5252
working-directory: ./afcjdk
5353
- name: Install CF actions
5454
run: npm i @actions/core && npm i @actions/exec && npm i @actions/tool-cache

.github/workflows/deploy-java-kyma.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
cache: npm
3030
- uses: actions/setup-java@v5
3131
with:
32-
distribution: temurin
32+
distribution: sapmachine
3333
java-version: 21
3434
cache: maven
3535
- run: npm ci
@@ -54,7 +54,7 @@ jobs:
5454
BROKER_SERVICE_ID: ${{ secrets.BROKER_SERVICE_KYMA_ID }}
5555
BROKER_SERVICE_PLAN_ID: ${{ secrets.BROKER_SERVICE_KYMA_PLAN_ID }}
5656
- name: Unit Test
57-
run: npm test
57+
run: mvn test -B
5858
working-directory: ./afcjdk
5959
- name: Setup Kyma
6060
uses: ./.github/actions/kyma-setup

0 commit comments

Comments
 (0)