Skip to content

Commit 383a4a3

Browse files
committed
fix: change work_dir
1 parent 04233aa commit 383a4a3

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

.github/workflows/docker-snapshot.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
jobs:
99
build-snapshot:
1010
runs-on: ubuntu-latest
11-
defaults:
12-
run:
13-
working-directory: api
1411
outputs:
1512
branch: ${{ steps.extract_branch.outputs.branch }}
1613
steps:
@@ -30,6 +27,7 @@ jobs:
3027
java-version: "21"
3128

3229
- name: Build API
30+
working-directory: api
3331
run: mvn package --no-transfer-progress
3432

3533
- name: Upload API jar

.github/workflows/release-candidate.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ jobs:
4040
build-sources:
4141
needs: check-version
4242
runs-on: ubuntu-latest
43-
defaults:
44-
run:
45-
working-directory: api
4643
steps:
4744
- name: Extract branch name
4845
shell: bash
@@ -60,6 +57,7 @@ jobs:
6057
java-version: "21"
6158

6259
- name: Build API
60+
working-directory: api
6361
run: mvn package -Dchangelist=-rc --no-transfer-progress
6462

6563
- name: Upload API jar

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
jobs:
88
check-version:
99
runs-on: ubuntu-latest
10-
defaults:
11-
run:
12-
working-directory: api
1310
outputs:
1411
release-version: ${{ steps.version-step.outputs.version }}
1512
steps:
@@ -24,6 +21,7 @@ jobs:
2421

2522
- name: Get source version
2623
id: version-step
24+
working-directory: api
2725
run: echo "version=$(mvn -f pom.xml help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
2826

2927
- name: Print source version
@@ -51,9 +49,6 @@ jobs:
5149
build-sources:
5250
needs: check-version
5351
runs-on: ubuntu-latest
54-
defaults:
55-
run:
56-
working-directory: api
5752
steps:
5853
- name: Set up JDK 21
5954
uses: actions/setup-java@v4
@@ -63,6 +58,7 @@ jobs:
6358

6459
- uses: actions/checkout@v4
6560
- name: Build app
61+
working-directory: api
6662
run: mvn package --no-transfer-progress
6763

6864
- name: Upload app jar

.github/workflows/snapshot.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
jobs:
77
verify-branch:
88
runs-on: ubuntu-latest
9-
defaults:
10-
run:
11-
working-directory: api
129
steps:
1310
- name: Verify branch
1411
run: |

0 commit comments

Comments
 (0)