Skip to content

Commit 1ba5a62

Browse files
committed
ci: update cart-service CI workflow to specify working directory and show downloaded files
1 parent 3e52b51 commit 1ba5a62

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci-from-template.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,17 @@ jobs:
3535
path: ./cart-service
3636
cart-service-ci:
3737
needs: generate-from-template
38-
defaults:
39-
run:
40-
working-directory: ./cart-service
4138
runs-on: ubuntu-latest
4239
steps:
4340
- name: Download generated cart-service artifact
4441
uses: actions/download-artifact@v4
4542
with:
4643
name: cart-service
47-
path: .
44+
path: ./cart-service
45+
- name: Show downloaded files
46+
run: |
47+
echo "Working dir: $(pwd)"
48+
ls -la ./cart-service
4849
- name: Set up JDK 21
4950
uses: actions/setup-java@v4
5051
with:
@@ -59,3 +60,4 @@ jobs:
5960
${{ runner.os }}-maven-
6061
- name: Build with Maven
6162
run: mvn clean verify -ntp
63+
working-directory: ./cart-service

0 commit comments

Comments
 (0)