Skip to content

fix: github actions set-output is deprecated#40

Closed
levibostian wants to merge 1 commit into
spr/alpha/08b4d420from
spr/alpha/c8c672a4
Closed

fix: github actions set-output is deprecated#40
levibostian wants to merge 1 commit into
spr/alpha/08b4d420from
spr/alpha/c8c672a4

Conversation

@levibostian

@levibostian levibostian commented Nov 26, 2024

Copy link
Copy Markdown
Owner

When running the tool, I get warning:
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/

But I'm using the latest 1.11.0 version of actions/core npm module so this shouldn't happen? I found the PR that implemented a fix for the deprecation, actions/toolkit#1178, and in it, I see that it checks if it has access to the GITHUB_OUTPUT environment variable. If it doesn't, it will fallback to previous behavior.


Stack:

⚠️ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

@github-actions

github-actions Bot commented Nov 26, 2024

Copy link
Copy Markdown

New deployment tool results

If this pull request and all of it's parent pull requests are merged, a new release will be created.
The next version of the project will be: 1.0.0

@levibostian
levibostian force-pushed the spr/alpha/c8c672a4 branch 2 times, most recently from 70e1624 to bebf3d8 Compare November 26, 2024 13:25
When running the tool, I get warning:
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/

But I'm using the latest 1.11.0 version of actions/core npm module so this shouldn't happen? I found the PR that implemented a fix for the deprecation, actions/toolkit#1178, and in it, I see that it checks if it has access to the GITHUB_OUTPUT environment variable. If it doesn't, it will fallback to previous behavior.

commit-id:c8c672a4
@levibostian

Copy link
Copy Markdown
Owner Author

Merged in a different PR #42

@levibostian
levibostian deleted the spr/alpha/c8c672a4 branch February 17, 2025 13:15
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