Skip to content

Commit f9ce77a

Browse files
Optimizes maven publish workflow
Signed-off-by: Darshit Chanpura <[email protected]>
1 parent f4cad15 commit f9ce77a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ jobs:
4646

4747
- name: Publish components to Maven Local
4848
run: |
49-
./gradlew :opensearch-resource-sharing-spi:publishToMavenLocal -Dbuild.snapshot=false
50-
./gradlew :opensearch-security-common:publishToMavenLocal -Dbuild.snapshot=false
51-
./gradlew :opensearch-security-client:publishToMavenLocal -Dbuild.snapshot=false
49+
./gradlew clean \
50+
:opensearch-resource-sharing-spi:publishToMavenLocal \
51+
:opensearch-security-common:publishToMavenLocal \
52+
:opensearch-security-client:publishToMavenLocal \
53+
-Dbuild.snapshot=false
5254
5355
- name: Cache artifacts for dependent jobs
5456
uses: actions/[email protected]

0 commit comments

Comments
 (0)