Windows-on-ARM-Experiments / mingw-woarm64-build

Workflows and build scripts for Windows on Arm64 GNU cross-compiler for `aarch64-w64-mingw32` target.
GNU General Public License v2.0
32 stars 4 forks source link

Fix switch to another git branch #202

Closed Blackhex closed 2 weeks ago

Blackhex commented 3 weeks ago

Since .github/scripts/update-sources.sh is doing --single-branch clone, switching to any other branch fails as the other branch do no exists locally. This PR check whether the branch exsits and adds it to the local index before actual switch.