Open hirokiynp opened 4 years ago
I met same issue and found the cause.
In https://github.com/actions/checkout/tree/v2.1.0#checkout-v2
Only a single commit is fetched by default, for the ref/SHA that triggered the workflow. The actions/checkout@v2 fetch only single SHA and no history.
I confirmed the issue fixed with 2 options. One is set the option fetch-depth: 0
. The other is following https://github.com/actions/checkout/tree/v2.1.0#fetch-all-history-for-all-tags-and-branches
on local , reg-suit sync-expected is correctly working. but, reg-suit sync-expected is not working correctly in github actions.
"run test-visual" call "reg-suit run".
on local
on github actions
by this problem, I can't compair images....
please help me.