diff --git a/.github/workflows/include-deploy-release.yml b/.github/workflows/include-deploy-release.yml index 730194e1c9..7141f919f1 100644 --- a/.github/workflows/include-deploy-release.yml +++ b/.github/workflows/include-deploy-release.yml @@ -108,5 +108,5 @@ jobs: "${{ secrets.DOCS_S3_ACCESS_KEY }}" "${{ secrets.DOCS_S3_SECRET_KEY }}" \ "${{ secrets.SLACK_URL_RELEASE }}" "${{ secrets.SLACK_URL_CI }}" \ "${{ secrets.GRADLE_PORTAL_KEY }}" "${{ secrets.GRADLE_PORTAL_SECRET }}" \ - '-PsignBuild=true -PsignSecretRingFileKotlin="${{ secrets.GPG_SIGNING_KEY_BASE_64_DBG }}" -PsignPasswordKotlin=${{ secrets.GPG_PASS_PHRASE_DBG }}' + '-PsignBuild=true -PsignSecretRingFileKotlin="${{ secrets.GPG_SIGNING_KEY_BASE_64_DBG }}" -PsignPasswordKotlin=${{ secrets.GPG_PASS_PHRASE_DBG }} -Prealm.kotlin.copyNativeJvmLibs=linux,windows' diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index f0a427b33a..22d6735f4f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -145,7 +145,11 @@ jobs: rm -rf realmLinuxBuild mkdir realmLinuxBuild cd realmLinuxBuild - cmake ../../src/jvm + cmake -DCMAKE_BUILD_TYPE=Release \ + -DREALM_ENABLE_SYNC=1 \ + -DREALM_NO_TESTS=1 \ + -DREALM_BUILD_LIB_ONLY=true \ + ../../src/jvm make -j8 - name: Upload artifacts diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ff5443096..a592815a2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ ### Enhancements -- None. +- Fixes missing binaries files for Windows and Linux platforms when releasing. (Issue [#1671](https://github.com/realm/realm-kotlin/issues/1690) [JIRA](https://jira.mongodb.org/browse/RKOTLIN-1037)) ### Fixed