Skip to content

Commit 92dd683

Browse files
committed
fix: github action
1 parent ca46867 commit 92dd683

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,15 @@ jobs:
155155
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
156156

157157
container-build:
158-
name: Run Java on Containers
158+
name: Run Java on Container
159159
runs-on: ubuntu-latest
160160

161161
strategy:
162162
fail-fast: true
163163
matrix:
164164
jdk: [ "17-slim-buster", "17-alpine" ]
165165

166+
166167
container:
167168
# openjdk:17-jdk-alpine
168169
image: openjdk:${{ matrix.jdk }}
@@ -177,6 +178,7 @@ jobs:
177178
java --show-version src/main/java/JavaApp.java
178179
env:
179180
RUNNER_CONTEXT: ${{ toJson(runner) }}
181+
shell: sh
180182

181183
- name: Github Action Contexts
182184
run: |
@@ -186,4 +188,4 @@ jobs:
186188
env:
187189
JOB_CONTEXT: ${{ toJson(job) }}
188190
STEPS_CONTEXT: ${{ toJson(steps) }}
189-
RUNNER_CONTEXT: ${{ toJson(runner) }}
191+
RUNNER_CONTEXT: ${{ toJson(runner) }}

0 commit comments

Comments
 (0)