Closed PaulRBerg closed 2 days ago
The error is due to the syntax ${{ inputs.invariantDepth || 100 }}
. It wasn't an error before so may be Github changed the way they parse digits in OR
conditions.
The easiest solution is to remove the OR condition and just use ${{ inputs.invariantDepth }}
. Any problem with that approach? All the inputs are anyways defined in the workflow file so having the OR
condition is redundant in this case.
We have to keep using the OR syntax because otherwise inputs
would be undefined when run by the weekly cron job.
I can't find it now, but there was a StackOverflow thread where I found the recommendation to use that syntax.
I see. In that case, I will look for solutions.
Finally, found the solutions:
Successful runs:
Great sleuthing @smol-ninja!
See the recent run: https://github.com/sablier-labs/v2-core/actions/runs/9807405025