Topic: How to run github workflows in forked repository?
palino![]() Topic Opener |
Posted at:
2025-10-13, 21:54 UTC+2.0
Hello I want to test my development branch in forked github repository, using all compilers and environments like master branch in official repo. I updated my branch, so that github workflows are active: https://github.com/gpalino/widelands/commit/97100782806d8edb45a3216fc986ea39fe3727a0 All is working except windows-msvc jobs:
e.g. here: https://github.com/gpalino/widelands/actions/runs/18466384675/job/52609569462 I see comment here https://github.com/widelands/widelands/blob/460eb73bf542bcbd57687f59bdb868cac5aab604/.github/workflows/build_windows_msvc.yaml#L27-L28 but what can I do to have msvc jobs running correctly? ![]() ![]() |
tothxa![]() |
Posted at:
2025-10-13, 22:55 UTC+2.0
You have to set a repo actions variable called ![]() ![]() |
palino![]() Topic Opener |
Posted at:
Yesterday 17:10 UTC+2.0
I tried to follow your steps, probably something is missing yet. I set initial value for VCPKG_REF string xyz. Update finished successfully, but not next builds - neither master branch, nor wb-test3. ![]() ![]() |
tothxa![]() |
Posted at:
Yesterday 20:51 UTC+2.0
Unfortunately the problem is not in your setup but in the vcpkg update workflow definition itself. It looks like the last update broke it for forked repos, and the change that broke it was necessary. However I believe the
check in the
You can try it in a new branch, though you may have to set that branch the default for the time of the vcpkg update run. ![]() ![]() |
tothxa![]() |
Posted at:
Yesterday 20:54 UTC+2.0
I'll check the whole thing again in my forked repo and create a PR when everything's OK. ![]() ![]() |