Skip to content

Commit 6a43aeb

Browse files
committed
fix
1 parent 2b2fd23 commit 6a43aeb

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
runs-on: ubuntu-latest
128128
strategy:
129129
matrix:
130-
version: ["11", "17", "21"]
130+
java-version: ["11", "17", "21"]
131131
steps:
132132
- name: Install SSH Key
133133
uses: shimataro/ssh-key-action@v2
@@ -138,13 +138,15 @@ jobs:
138138
uses: actions/setup-java@v4
139139
with:
140140
distribution: "temurin"
141-
java-version: ${{ env.JAVA_VERSION }}
141+
java-version: ${{ matrix.java-version }}
142142
- name: Checkout
143-
uses: actions/checkout@v4
143+
uses: actions/checkout@v5
144144
- name: Download OAS
145145
run: make download-oas
146146
- name: Generate SDK
147-
run: make generate-sdk LANGUAGE=java
147+
run: make generate-sdk
148+
env:
149+
LANGUAGE: java
148150
- name: Lint
149151
working-directory: ./sdk-repo-updated
150152
run: make lint

.github/workflows/sdk-pr.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,13 @@ jobs:
9797
distribution: "temurin"
9898
java-version: ${{ env.JAVA_VERSION }}
9999
- name: Checkout
100-
uses: actions/checkout@v4
100+
uses: actions/checkout@v5
101101
- name: Download OAS
102102
run: make download-oas
103103
- name: Generate SDK
104-
run: make generate-sdk LANGUAGE=java
104+
run: make generate-sdk
105+
env:
106+
LANGUAGE: java
105107
- name: Push SDK
106108
env:
107109
GH_REPO: "stackitcloud/stackit-sdk-java"

scripts/project.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ elif [ "$action" = "tools" ]; then
2727
elif [ "${LANGUAGE}" == "python" ]; then
2828
pip install black==24.8.0 isort~=5.13.2 autoimport~=1.6.1
2929
elif [ "${LANGUAGE}" == "java" ]; then
30-
echo "Java tools are ready for use"
30+
echo "No additional project setup for java needed"
3131
else
3232
echo "! Invalid language: $($LANGUAGE), please use $0 help for help"
3333
fi

0 commit comments

Comments
 (0)