This repository was archived by the owner on Oct 13, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 94
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
set-output
command is deprecated #221
Copy link
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Do the checklist before filing an issue:
- Is this related to the
actions-rs
Actions?
If you think it's a problem related to GitHub Actions in general, use the GitHub Community forum instead: https://github.community - You've read the Contributing section about bug reporting: https://github.com/actions-rs/.github/blob/master/CONTRIBUTING.md#reporting-bugs
- Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
chore: bump @actions deps #222 may solve this problem
Description
The set-output
command is deprecated and we need to upgrade @actions/core
to v1.10.0
Currently, this error will show in every action using this action:
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files.
Workflow code
This is just my use case. I believe other cases have the same problem.
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
Action output
Following is the raw log
2022-10-14T02:49:04.5320394Z ##[group]Gathering installed versions
2022-10-14T02:49:04.5329776Z [command]/home/runner/.cargo/bin/rustc -V
2022-10-14T02:49:04.5835528Z rustc 1.66.0-nightly (6b3ede3f7 2022-10-13)
2022-10-14T02:49:04.5885042Z ##[warning]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/
2022-10-14T02:49:04.5907869Z ##[warning]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/
2022-10-14T02:49:04.5910612Z [command]/home/runner/.cargo/bin/cargo -V
2022-10-14T02:49:04.6299701Z cargo 1.66.0-nightly (b8f30cb23 2022-10-10)
2022-10-14T02:49:04.6302611Z ##[warning]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/
2022-10-14T02:49:04.6309793Z [command]/home/runner/.cargo/bin/rustup -V
2022-10-14T02:49:04.6351698Z rustup 1.25.1 (bb60b1e89 2022-07-12)
2022-10-14T02:49:04.6352373Z info: This is the version for the rustup toolchain manager, not the rustc compiler.
2022-10-14T02:49:04.6848281Z info: The currently active `rustc` version is `rustc 1.66.0-nightly (6b3ede3f7 2022-10-13)`
2022-10-14T02:49:04.6862719Z ##[warning]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/
2022-10-14T02:49:04.6864583Z ##[endgroup]
Expected behavior
Upgrade @actions/core
to v1.10.0
or above (is exist)
Additional context
N/A
Borber, andrusha, CathalMullan, jgrund, PikminGuts92 and 67 morezacharyburnett and clarkmcc
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working