OpenJK icon indicating copy to clipboard operation
OpenJK copied to clipboard

[CI/CD] Update automatic release action to actively maintained one

Open taysta opened this issue 1 year ago • 0 comments

https://github.com/marvinpinto/action-automatic-releases is currently used to download the artifacts and to create the "latest" release. It is in an abandoned state using Node 12 and will stop working entirely quite soon.

https://github.com/softprops/action-gh-release is an actively maintained action that achieves the same purpose. It is likely going to have a v2 soon, which will include a bump to Node 20, which has already been committed (as Node 16 depreciation warnings have now begun on actions).

Known problem with this runner: It successfully uploads the artifacts and creates the latest release, if a latest release exists, it re-uploads the files to that pre-existing release, instead of re-creating the "latest" release as the current action does. I have only tested this on v1 so far, and will shortly run some tests to see if this behavior persists on the latest commit of the action.

Update: https://github.com/crowbarmaster/GH-Automatic-Releases is a suitable replacement, it functions 1:1 to the previous implementation and has already been updated to Node 20.

taysta avatar Feb 13 '24 11:02 taysta