Expo fingerprint action is generating builds even there are zero native dependency changes in the app
Description of the bug
Hi, we are using https://github.com/expo/expo-github-action/tree/main/continuous-deploy-fingerprint action to deploy to preview or development branches
the problem is, even i ve zero changes for native dependencies the fingerprint is different for each push...
which triggers an eas build all the time on CI even though its unnecessary
To Reproduce
What steps did you perform which led to this issue?
- Go to '...'
- Click on '....'
- Scroll down to '....'
Expected behavior
If there are no native dependency changes there shouldnt be a new build on EAS
Actual behavior
It creates an EAS build for all pushes without a single native dependency change
Additional context
I checked the hash for the repo locally
they didnt change when i switch branches without any native config change
but in this gh action, its always a new one
is fingerprint your runtimeVersion policy?
{
"expo": {
"runtimeVersion": {
"policy": "fingerprint"
}
}
}
hi @rikur its fingerprint
I have the same problem as described in the issue. runtimeVersion.policy is set to fingerprint
I'm experiencing the same issue. This even happened when I did workflow_dispatch of the github action on the main. So essentially, I ran the action twice and still there was a build initiated due to no matching fingerprint found even though the EXACT same code was just built.
Adding to above: continuous-deploy-fingerprint-info action and the continuous-deploy-fingerprint action are determining different fingerprints and so two builds are initiated on my end.
Ok so in my case I was setting the environment input for continuous-deploy-fingerprint-info and not doing it for continuous-deploy-fingerprint which resulted in different hashes.
Once I set all the inputs properly for profile, branch and environment and made sure it was consistent throughout the workflow, that resolved all my issues.