Skip to content

Commit

Permalink
Prepare for 12.11.0 (#6729)
Browse files Browse the repository at this point in the history
* [12.11.0] Bump version

* Using upload-artifact v4 for all artifacts

* Upgrading dawidd6/action-download-artifact to v6

* Using upload-artifact/merge action to merge prebuilds

---------

Co-authored-by: kraenhansen <kraenhansen@users.noreply.github.com>
Co-authored-by: Kræn Hansen <kraen.hansen@mongodb.com>
  • Loading branch information
3 people authored Jun 18, 2024
1 parent cbd975a commit cfdfe11
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 28 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/pr-realm-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Bundle all packages
run: npm run bundle
- name: Upload dist artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ts-build
# Including README.md to pin paths to the root of the repository
Expand Down Expand Up @@ -384,7 +384,17 @@ jobs:
README.md
packages/realm/prebuilds/android/${{ matrix.architecture }}/
if-no-files-found: error


merge-prebuilds:
runs-on: ubuntu-latest
needs: [prebuild-node, prebuild-apple, prebuild-android]
steps:
- name: Merge prebuild artifacts into a single artifact
uses: actions/upload-artifact/merge@v4
with:
name: prebuilds
pattern: '*-prebuild'

integration-tests:
name: Test ${{ matrix.variant.environment }} on ${{ matrix.variant.os }} (${{matrix.variant.target}})
needs: [generate-jsi, build-ts, prebuild-node, prebuild-apple, prebuild-android]
Expand Down Expand Up @@ -518,7 +528,7 @@ jobs:
name: jsi-binding-source

- name: Download TypeScript build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ts-build

Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: npm ci

- name: Download JSI binding source-code from PR
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe
uses: dawidd6/action-download-artifact@bf251b5aa9c2f7eeb574a96ee720e24f801b7c11
with:
workflow: pr-realm-js.yml
commit: ${{ inputs.commit || github.sha }}
Expand All @@ -64,7 +64,7 @@ jobs:
name: jsi-binding-source

- name: Download TypeScript build from PR
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe
uses: dawidd6/action-download-artifact@bf251b5aa9c2f7eeb574a96ee720e24f801b7c11
with:
workflow: pr-realm-js.yml
commit: ${{ inputs.commit || github.sha }}
Expand All @@ -74,15 +74,14 @@ jobs:
name: ts-build

- name: Download prebuilds from PR
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe
uses: dawidd6/action-download-artifact@bf251b5aa9c2f7eeb574a96ee720e24f801b7c11
with:
workflow: pr-realm-js.yml
commit: ${{ inputs.commit || github.sha }}
path: ${{ github.workspace }}
workflow_conclusion: "" # Ignores workflow conclusion
github_token: ${{ secrets.REALM_CI_PAT }}
name_is_regexp: true
name: "*-prebuild"
name: prebuilds

- name: Read version
id: get-version
Expand Down
5 changes: 1 addition & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
## vNext (TBD)

### Deprecations
* None
## 12.11.0 (2024-06-17)

### Enhancements
* Building for iOS and Android has been optimized for compatibility with future React Native versions, by deferring compilation of JSI dependent code to the dependent app's build. ([#6650](https://github.com/realm/realm-js/pull/6650))
Expand Down
Loading

0 comments on commit cfdfe11

Please sign in to comment.