Open
Description
I trying to pin a package to a specific commit hash
opam pin add flow_parser git+https://github.com/rescript-lang/flow.git#d35a6f5c0cc219e85bbcb822d6f19ed9b2ec3448
This works well on my Linux/MacOS machine. But fails on Windows (GitHub actions)
opam pin add flow_parser https://github.com/rescript-lang/flow.git#d35a6f5c0cc219e85bbcb822d6f19ed9b2ec3448
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
Error: Could not synchronize C:\Users\runneradmin\AppData\Local\opam\default\.opam-switch\sources\flow_parser from "git+https://github.com/rescript-lang/flow.git#d[3](https://github.com/cometkim/windows-action-test/actions/runs/14424847341/job/40452212688#step:6:3)5a6f5c0cc219e85bbcb822d6f19ed9b2ec3448":
Git error: refs/remotes/opam-ref-d35a6f5c0cc219e85bbcb822d6f19ed9b2ec3[4](https://github.com/cometkim/windows-action-test/actions/runs/14424847341/job/40452212688#step:6:5)48 not found.
Error: Error getting source from git+https://github.com/rescript-lang/flow.git#d35a6f5c0cc219e85bbcb822d6f19ed9b2ec3448:
- git+https://github.com/rescript-lang/flow.git#d35a6f5c0cc219e85bbcb822d6f19ed9b2ec3448
[flow_parser.0.246.0] fetching sources failed: git+https://github.com/rescript-lang/flow.git#d3[5](https://github.com/cometkim/windows-action-test/actions/runs/14424847341/job/40452212688#step:6:6)a6f5c0cc219e85bbcb822d6f19ed9b2ec3448
https://github.com/cometkim/windows-action-test/actions/runs/14424847341/job/40452212688
Metadata
Metadata
Assignees
Labels
No labels