amondnet / vercel-action

This action make a deployment with github actions instead of Vercel builder.
https://vercel.com/docs/cli
MIT License
635 stars 98 forks source link

`set-output` command warning #217

Open marwenguesmii opened 1 year ago

marwenguesmii commented 1 year ago

I tried using 'amondnet/vercel-action@2b2891b2a25aacf731bced4cff6feb84007b1458' . 2b2891b2a25aacf731bced4cff6feb84007b1458 is the latest commit for the moment and @action/core version is 1.10.0 in this commit. However, I always get the github warning about the set-output command

irangarcia commented 1 year ago

Bumping to v25.1.1 should resolve. Fixed on #208

dmarcucci commented 1 year ago

Still seeing the issue in v25.1.1.

c-tuck commented 1 year ago

Looks as if the dist/index.js file is not up to date for the v25.1.1 tag and needs to be fixed. Seems to be correct for the v25 tag though so pointing to that tag should work for now until the v25.1.1 tag is fixed.

Pointing to the latest release commit should work as well: 19d4fbf

pirafrank commented 1 year ago

Hi, version v25.1.1 fixes this in workflow examples, not in code. I'm thinking of fixing this for real and open a PR.

pirafrank commented 6 months ago

It looks like it's related to @actions/core, not the action itself.

Albeit the version of this dependency is pretty recent, "@actions/core": "^1.10.0" in package.json, the error still occurs. May be a bug in @actions/core. More info here and here.

Also, @actions/core should be upgrade to node 20, since it's still based on node 16 which is about to be sunset.