Skip to content

Conversation

@classicrocker883
Copy link

Reduce warnings: set-output

The `set-output` command is deprecated and will be disabled soon. 
Please upgrade to using Environment Files. For more information see: 
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Basically, @actions/core is outdated, and says to use at least v1.10.0, this PR uses v1.11.1 as well as updated a bunch of others.

In order to build correctly, ncc had to be removed and installed with "@vercel/ncc"

File: workflows/versioning.yml

publish_latest had to be renamed publish_latest_tag

File: workflows/licensed.yml + ci.yml

bumped actions/checkout version
I would have done to the @latest, but I am not sure what licensed.tar.gz is about since it doesn't exist in any version later than v4.0, so I just made it up unto that version. where v2.5.0 is dated to that point.


Steps I did to reproduce:

  1. Clone github
  2. npm install
  3. Manually change @actions/* to latest versions in package.json
  4. npm update
  5. npm run build

You may find errors, so then enter:

mac/linux: export NODE_OPTIONS=--openssl-legacy-provider
windows: set NODE_OPTIONS=--openssl-legacy-provider

If there are still errors, then you need to:

  1. npm remove ncc or specfically @zeit/ncc
  2. npm install ncc or specfically @vercel/ncc
  3. npm update
    3a. npm audit fix --force - optional, but good to do anyway
  4. npm run build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant