cake-build / cake-action

:cake::octocat: Run Cake (C# Make) scripts in your GitHub Actions workflows.
https://cakebuild.net
MIT License
45 stars 13 forks source link

Update to Node16 #41

Closed nils-a closed 8 months ago

nils-a commented 2 years ago

Running the action currently produces a warning:

Node.js 12 actions are deprecated. For more information 
see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. 
Please update the following actions to use Node.js 16: cake-build/cake-action
ecampidoglio commented 2 years ago

On it.

mabead commented 1 year ago

@ecampidoglio Do you have an ETA for the upgrade to node 16? I am now cleaning all our workflow files and it would be handy to have the fix for cake. Thanks.

ecampidoglio commented 1 year ago

@mabead I plan on releasing a new version this week.

ecampidoglio commented 1 year ago

Resolved in 94fa55b.

mabead commented 1 year ago

Thanks for the update @ecampidoglio! Could you please post an update here once you've published a new version cake-action on the github marketplace? Thanks...

TheNr1Guest commented 1 year ago

I'm still getting the warning message using the latest cake-action:

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: cake-build/cake-action@v1.4.1
ecampidoglio commented 1 year ago

Moving to Node.js 16 is a breaking change. As such, it's going to be part of v2, along with a few other improvements that break backwards-compatibility (#17).

Since the upgrade has already been merged into master, you can change your workflows to reference that version of the cake-action:

steps:
  - name: Run the Cake script
    uses: cake-build/cake-action@master

If you prefer a more predictable build, you can instead reference the specific commit that contains the upgrade to Node.js 16:

steps:
  - name: Run the Cake script
    uses: cake-build/cake-action@94fa55b4f83cee90f2621654eba6a056ae71df90

Of course, this is a temporary measure. Once v2 is out, you can just change that to cake-build/cake-action@v2.

TheNr1Guest commented 11 months ago

When will v2 be released?

baynezy commented 9 months ago

Any update on a V2 release? Do you need any assistance?

ecampidoglio commented 8 months ago

Resolved by 94fa55b.

ecampidoglio commented 8 months ago

Version 2.0.0 is out now.