Skip to content

Commit

Permalink
Try to checkout everything
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Mar 13, 2024
1 parent 7514575 commit 723f7cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ jobs:
with:
repository: realm/realm-core
path: core
ref: ${{ steps.get-core-version.outputs.version }}
submodules: recursive
fetch-depth: 0
fetch-tags: true

- name: Checkout Core@${{ steps.get-core-version.outputs.version }}
run: git checkout ${{ steps.get-core-version.outputs.version }}
working-directory: core

- name: Build for ${{ matrix.target }}
run: sh tools/${{ matrix.target != 'macosx' && format('build-apple-device.sh -p {0} -c Release', matrix.target) || 'build-cocoa.sh -bm' }} -v ${{ steps.get-core-version.outputs.version }}
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ let package = Package(
targets: ["Realm", "RealmSwift"]),
],
dependencies: [
.package(url: "https://github.com/realm/realm-core.git", exact: coreVersion)
.package(url: "https://github.com/realm/realm-core.git", revision: "v\(coreVersion)")
],
targets: [
.target(
Expand Down

0 comments on commit 723f7cc

Please sign in to comment.