-
Notifications
You must be signed in to change notification settings - Fork 71
Update Github Runner Node version and deprecate set-output #546
Conversation
4e54979
to
257f3a5
Compare
LGTM |
Is it possible that there are a couple more occurrences of set-output to be changed, at least in the automatic releases action? For instance, looking at the automatic releases action, I can see set-output mentioned in @Maggie0002 @marvinpinto looking forward to your feedback! |
@francesco-ballarin, the index.js you are pointing to is the built output of this repo. Once this PR is merged, it will build and deploy new code to replace index.js. setOutput is different to set-output. If you have tested it and finding some issues then let us know, but it is best to describe how you have tested this and the issues you are running in to with it. |
Thanks @Maggie0002 Unfortunately I don't know how to test this, at least until @marvinpinto merges this PR. My suspicion that |
@francesco-ballarin, wow you really dug deep, good job. The point you're referencing though is an external package. I can't imagine it would make a difference here as there are no signs of set-output in the build output and the issue seems to relate only to the use of set-output with stdout (https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/). If it does though, then it would be a pull request on the other repo to fix it rather than here (and then a package bump here). It shouldn't impact displaying of the error message either way and I don't think will impact the package. @marvinpinto will be looking at all these before merging too, and will certainly know best from having built this particular build setup. |
@marvinpinto @Maggie0002 FYI, about |
@francesco-ballarin I added the package bump here, you can try testing this out. |
@marvinpinto how can I test this? I typically use https://github.com/marvinpinto/action-automatic-releases, but my understanding is that such a repository will get updated only after this PR is merged. |
This branch has the packages built for each in it: maggie44@1c38253 You would have to push each folder to a new repo, like this one for the automatic-releases: https://github.com/maggie0002/actions/tree/1c38253e5516e60baa8df5b62217f1dfbc476715/packages/automatic-releases Then when that folder is in a repo by itself and in the root you would swap the code to point to your test package: - - uses: "marvinpinto/action-automatic-releases@latest"
+ - uses: "francesco-ballarin/action-automatic-releases@latest" |
Thanks @Maggie0002! I can confirm that on my project this PR fixes both deprecation warnings. CI run before this PR: https://github.com/fem-on-colab/fem-on-colab/actions/runs/3385955348 (notice: 3 warnings) @marvinpinto looking forward to seeing this PR merged soon! |
Hi, Do you have any idea when this PR will be merged and released? Thanks |
It seems that this repo is a bit abandoned |
@marvinpinto any chance getting this merged? 🙏 Otherwise can anyone suggest an alternative to "GitHub Automatic Releases" that is still being maintained? |
I've been using https://github.com/softprops/action-gh-release, which is still actively maintained |
@marvinpinto 🙏🏻 |
Hi @marvinpinto , I came across your repository and found a venrablity in it.
However, I saw that @maggie44 has already created a pull request to fix the issue. I have tested the fix and can confirm that it works well. I think it would be great if you could review and merge the pull request. This will help other users who depend on your repository. Thank you for maintaining this valuable resource! |
Not to be an alarmist or anything, but the GitHub post on this topic states:
That's not very far out... |
Any likelihood of this PR being merged and a new release pushed any time soon, the fixes look good and match what I've implemented in my other repos. Time is running out before these deprecated features will be turned off @marvinpinto . |
Before you write yet another "ping" like noise here, see that the user is actually active from their profile page: |
FWIW, the profile shows no activity in over a month. |
So I see, which could effectively state that this specific project/repo "could be" dead, but a ping does email the user to "check-in" Shame, but here's hoping the dev is able to come back. |
hey @maggie44 I'm a new maintainer I can merge prs. https://github.com/marvinpinto/actions/actions/runs/5248984690 all worlflows need actions/checkout and actions/cache bumped to version v3 as v2 uses set-output and node12 wich both are deprecated |
or anyone else that might want to open the pr tag me, ill review and merge asap |
@sbe-arg As I understand, |
@sbe-arg take a look https://github.com/marvinpinto/actions/pull/642/files, I will describe the details |
@sbe-arg or others: thank you for those who updated this. However, I am missing something. This was merged and the change are in this monorepo (marvinpinto/actions). However, the auto-generated repo does not have those changes: https://github.com/marvinpinto/action-automatic-releases My code is pointing to "uses: "marvinpinto/action-automatic-releases@latest" Is there a way to use a version of this with the updated code? Thanks in advance for any help. |
The problem is the credentials that replicate the code builds are expired/invalid and only @marvinpinto can recreate them. If anyone wants to build and open prs in the other repo ill peer review and merge. Since this blocker I have moved my workflows to this action https://github.com/marketplace/actions/simple-tags-and-releases Hard to maintain this project without the keys or admin repo access. |
@sbe-arg: ok, thanks. does simple-tags-and-releases have any ability to delete an existing tag? the main reason we've been using this is to auto-generate a 'latest' tag, overwriting the previous one. |
What do you mean deleting a tag? Are you referring updating a release as latest release if so, yes or are you talking about git tags? |
The first use case on the examples: https://github.com/marketplace/actions/automatic-releases |
Not yet but probably is easy work on the prerrelease front as the github cli auto manages the latest tag |
Update Runner Node version. Resolves: #543
Remove deprecated set-output command. Resolves: #544
bump @actions/core from 1.4.0 to 1.10.0 to resolve set-output issues in dependencies.