diff --git a/.github/workflows/commands-handler.yml b/.github/workflows/commands-handler.yml index 48f71d24..a38ac9a8 100644 --- a/.github/workflows/commands-handler.yml +++ b/.github/workflows/commands-handler.yml @@ -27,6 +27,7 @@ jobs: uses: actions/checkout@v4 with: token: ${{ secrets.GH_TOKEN }} + submodules: recursive - name: Checkout release actions if: steps.user-check.outputs.expected-user == 'true' uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5850a79..228366ca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,7 @@ jobs: with: # This should be the same as the one specified for on.pull_request.branches ref: master + submodules: recursive - name: Checkout actions uses: actions/checkout@v4 with: diff --git a/.github/workflows/release/chat-maven-build.sh b/.github/workflows/release/chat-maven-build.sh index be41994a..5587166f 100644 --- a/.github/workflows/release/chat-maven-build.sh +++ b/.github/workflows/release/chat-maven-build.sh @@ -1,2 +1,2 @@ echo "Build Chat SDK module artifacts" -./gradlew jar --no-configuration-cache \ No newline at end of file +./gradlew jar \ No newline at end of file diff --git a/.github/workflows/release/chat-maven-publish.sh b/.github/workflows/release/chat-maven-publish.sh index 15db904b..04a7637a 100644 --- a/.github/workflows/release/chat-maven-publish.sh +++ b/.github/workflows/release/chat-maven-publish.sh @@ -1 +1 @@ -./gradlew publishToSonatype closeSonatypeStagingRepository --no-configuration-cache +./gradlew publishToSonatype closeSonatypeStagingRepository diff --git a/.github/workflows/release/pre-github-pages-publish.sh b/.github/workflows/release/pre-github-pages-publish.sh index 0e289f10..fb521b17 100644 --- a/.github/workflows/release/pre-github-pages-publish.sh +++ b/.github/workflows/release/pre-github-pages-publish.sh @@ -1 +1 @@ -./gradlew :dokkaGfmMultiModule --no-configuration-cache \ No newline at end of file +./gradlew :dokkaGfmMultiModule \ No newline at end of file diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4fb40864..601e52ec 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -35,7 +35,7 @@ jobs: ./gradlew check env: SDK_PUB_KEY: ${{ secrets.SDK_PUB_KEY }} - SDK_SUB_KEY: ${{ secrets.SDK_PUB_KEY }} + SDK_SUB_KEY: ${{ secrets.SDK_SUB_KEY }} SDK_PAM_SUB_KEY: ${{ secrets.SDK_PAM_SUB_KEY }} SDK_PAM_PUB_KEY: ${{ secrets.SDK_PAM_PUB_KEY }} SDK_PAM_SEC_KEY: ${{ secrets.SDK_PAM_SEC_KEY }} diff --git a/.github/workflows/run-validations.yml b/.github/workflows/run-validations.yml index b3e93b91..e19268d7 100644 --- a/.github/workflows/run-validations.yml +++ b/.github/workflows/run-validations.yml @@ -53,7 +53,7 @@ jobs: restore-keys: | ${{ runner.os }}-gradle- - name: Validate clean build - run: ./gradlew apiCheck ktlintFormat publishAllPublicationsToRepoRepository + run: ./gradlew apiCheck ktlintFormat publishAllPublicationsToRepoRepository -PRELEASE_SIGNING_ENABLED=false - name: Cancel workflow runs for commit on error if: failure() uses: ./.github/.release/actions/actions/utils/fast-jobs-failure diff --git a/gradle.properties b/gradle.properties index 83989355..c01d2dea 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ kotlin.code.style=official -org.gradle.configuration-cache=true org.gradle.caching=true +org.gradle.parallel=true kotlin.mpp.applyDefaultHierarchyTemplate=false org.gradle.jvmargs=-Xmx8g -XX:MaxMetaspaceSize=1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 diff --git a/pubnub-kotlin b/pubnub-kotlin index c14c2005..8b7eb393 160000 --- a/pubnub-kotlin +++ b/pubnub-kotlin @@ -1 +1 @@ -Subproject commit c14c2005b222389c7af028bf2aefd364d9eeb3d9 +Subproject commit 8b7eb393d98b2e98728e3e09a040dbbea0d73441