From 1f6d31f19463b1caf541cfa5f037bac8a73da0c9 Mon Sep 17 00:00:00 2001 From: Shailesh Date: Sun, 16 Jul 2023 23:39:03 +0530 Subject: [PATCH] v1.1.1 snapshot --- .github/workflows/publish.yml | 9 +++++++++ pom.xml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cf32015d..68a976f6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,6 +17,15 @@ jobs: server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD gpg-passphrase: GPG_PASSPHRASE + - name: Build and Test + run: | + mvn clean test jacoco:report + mvn -B verify -P coverage --no-transfer-progress + - name: Publish Coverage Report + uses: actions/upload-artifact@v2 + with: + name: Coverage Report + path: target/site/jacoco/index.html - name: Publish to the Maven Central Repository run: mvn --batch-mode deploy env: diff --git a/pom.xml b/pom.xml index 1312425f..bc16e47b 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ cms jar contentstack-management-java - 1.2.0-SNAPSHOT + 1.0.0-SNAPSHOT Contentstack Java Management SDK for Content Management API, Contentstack is a headless CMS with an API-first approach