Skip to content

Commit

Permalink
Using upload-artifact/merge action to merge prebuilds
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Jun 17, 2024
1 parent f4b6105 commit 2ac4978
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/pr-realm-js.yml
Original file line number Diff line number Diff line change
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
3 changes: 1 addition & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ jobs:
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

0 comments on commit 2ac4978

Please sign in to comment.