Skip to content

Commit 438117c

Browse files
JAVA-8427 move build scripts
1 parent b4a6750 commit 438117c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

maven-plugin/.github/workflows/build.yml .github/workflows/build-maven-plugin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
CONTRAST__API__API_KEY: ${{ secrets.CONTRAST__API__API_KEY }}
3636
CONTRAST__API__SERVICE_KEY: ${{ secrets.CONTRAST__API__SERVICE_KEY }}
3737
CONTRAST__API__ORGANIZATION_ID: ${{ secrets.CONTRAST__API__ORGANIZATION_ID }}
38-
run: ./mvnw --batch-mode -Pend-to-end-test verify
38+
run: cd maven-plugin/ && ./mvnw --batch-mode -Pend-to-end-test verify

.github/workflows/build-sdk.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Cache Maven Wrapper
2626
uses: actions/cache@v2
2727
with:
28-
path: ./.mvn/wrapper/maven-wrapper.jar
28+
path: cd sdk/ ./.mvn/wrapper/maven-wrapper.jar
2929
key: ${{ runner.os }}-maven-wrapper-${{ hashFiles('./.mvn/wrapper/maven-wrapper.properties') }}
3030
restore-keys: ${{ runner.os }}-maven-wrapper
3131

maven-plugin/.github/workflows/publish.yml .github/workflows/publish-maven-plugin.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Cache Maven Wrapper
2727
uses: actions/cache@v2
2828
with:
29-
path: ./.mvn/wrapper/maven-wrapper.jar
29+
path: cd maven-plugin/ && ./.mvn/wrapper/maven-wrapper.jar
3030
key: ${{ runner.os }}-maven-wrapper-${{ hashFiles('./.mvn/wrapper/maven-wrapper.properties') }}
3131
restore-keys: ${{ runner.os }}-maven-wrapper
3232

@@ -50,7 +50,7 @@ jobs:
5050
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
5151
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
5252
run: |
53-
./mvnw -DdryRun=true --batch-mode release:prepare release:perform -Dusername=$GITHUB_ACTOR -Dpassword=$GITHUB_TOKEN
53+
cd maven-plugin/ && ./mvnw -DdryRun=true --batch-mode release:prepare release:perform -Dusername=$GITHUB_ACTOR -Dpassword=$GITHUB_TOKEN
5454
5555
- name: Maven Release
5656
env:
@@ -59,4 +59,4 @@ jobs:
5959
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
6060
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
6161
run: |
62-
./mvnw --batch-mode release:prepare release:perform -Dusername=$GITHUB_ACTOR -Dpassword=$GITHUB_TOKEN
62+
cd maven-plugin/ && ./mvnw --batch-mode release:prepare release:perform -Dusername=$GITHUB_ACTOR -Dpassword=$GITHUB_TOKEN
File renamed without changes.

0 commit comments

Comments
 (0)