Running "git" "clone" "https://github.com/matrix-org/matrix-rust-sdk" "/home/runner/work/react-native-matrix-sdk/react-native-matrix-sdk/rust_modules/matrix-rust-sdk" "--depth" "1"
Cloning into '/home/runner/work/react-native-matrix-sdk/react-native-matrix-sdk/rust_modules/matrix-rust-sdk'...
Running cd "/home/runner/work/react-native-matrix-sdk/react-native-matrix-sdk/rust_modules/matrix-rust-sdk" && "git" "fetch" "--depth" "1" "origin" "matrix-sdk-ffi/20241008"
From https://github.com/matrix-org/matrix-rust-sdk
* tag matrix-sdk-ffi/20241008 -> FETCH_HEAD
Running cd "/home/runner/work/react-native-matrix-sdk/react-native-matrix-sdk/rust_modules/matrix-rust-sdk" && "git" "checkout" "matrix-sdk-ffi/20241008"
error: pathspec 'matrix-sdk-ffi/20241008' did not match any file(s) known to git
Error: Failed to run command
I think the problem is that for a tag you need to do git fetch --depth 1 origin tag matrix-sdk-ffi/20241008 (not the extra tag not present in the log above). We'll probably have to add something to check if the value supplied in branch is a tag or not and then run the command accordingly.
I fear I've broken tag checkouts with #115.
I think the problem is that for a tag you need to do
git fetch --depth 1 origin tag matrix-sdk-ffi/20241008
(not the extratag
not present in the log above). We'll probably have to add something to check if the value supplied inbranch
is a tag or not and then run the command accordingly.