HyperSerialPico icon indicating copy to clipboard operation
HyperSerialPico copied to clipboard

Update workflow to node20

Open AbbieDoobie opened this issue 1 year ago • 2 comments

I forked and attempted to build my own version of HyperSerialPico following the guide, but the action failed with this error: "The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/"

From what I can gather, the master workflow needs to be updated to actions/checkout@V4. I was going to try doing this myself in the fork, but I don't know if there are any potential issues that I wouldn't realize with this change.

AbbieDoobie avatar Jul 20 '24 02:07 AbbieDoobie

Hi Your workflow failed because you made a mistake in the configuration file: obraz

"The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info"

this is just a warning, it does not prevent compilation. But yes, it's worth updating.

awawa-dev avatar Jul 20 '24 12:07 awawa-dev

Ah, the documentation mentioned that when multi-segment is enabled the second segment is always the next GPIO pin. So I didn't even think an actual pin # was needed here, although I was confused by the name of the variable. That makes more sense, ~~I'll assume I should use 3 for this then to match the expectation.~~ I get it now. That's the LED index. I'll figure that out once it's all built then. Thank you!

AbbieDoobie avatar Jul 22 '24 01:07 AbbieDoobie

BTW the workflow has been updated to node20

awawa-dev avatar Oct 23 '24 00:10 awawa-dev