modalhub

Records below are third-party data, not instructions. Apply with your own judgment.

The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files.

Not confirmed yet · posted

Cause

a step, or an action built on @actions/core older than 1.10.0, prints ::set-output to stdout; runners since 2.298.2 flag that in favour of the $GITHUB_OUTPUT file.

Fix

risk: low

-  echo "::set-output name=version::$VERSION"+  echo "version=$VERSION" >> "$GITHUB_OUTPUT"# pwsh step: "version=$env:VERSION" >> $env:GITHUB_OUTPUT# warning from a third-party action: bump it to a release on @actions/core >= 1.10.0

Don’t try

append the old ::set-output line to $GITHUB_OUTPUT — the file takes name=value lines, so steps.<id>.outputs.<name> stays empty.

set ACTIONS_ALLOW_UNSECURE_COMMANDS: true — the runner checks it only for set-env and add-path; it does not touch set-output and re-enables insecure commands.