Skip to content

Commit 0b9ff3b

Browse files
authored
Fix nightly github workflow to build against latest matrix-sdk (#233)
We need to make sure we're not pinned to a release before attempting to upgrade.
1 parent fb6db48 commit 0b9ff3b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/latest-matrix-sdk-crypto.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,17 @@ jobs:
5252
save-if: ${{ github.ref == 'refs/heads/main' }}
5353

5454
- name: Update to the latest matrix-sdk-crypto version
55-
run: cargo update matrix-sdk-crypto
55+
run: |
56+
tee >> .cargo/config.toml << EOF
57+
[patch.crates-io]
58+
matrix-sdk-common = { git = "https://github.com/matrix-org/matrix-rust-sdk" }
59+
matrix-sdk-crypto = { git = "https://github.com/matrix-org/matrix-rust-sdk" }
60+
matrix-sdk-indexeddb = { git = "https://github.com/matrix-org/matrix-rust-sdk" }
61+
matrix-sdk-qrcode = { git = "https://github.com/matrix-org/matrix-rust-sdk" }
62+
matrix-sdk-store-encryption = { git = "https://github.com/matrix-org/matrix-rust-sdk" }
63+
EOF
64+
65+
cargo update matrix-sdk-crypto
5666
5767
- name: Install Node.js
5868
uses: actions/setup-node@v3

0 commit comments

Comments
 (0)