Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated ::set-output #26

Merged
merged 1 commit into from
Mar 16, 2025
Merged

Conversation

nodeg
Copy link
Member

@nodeg nodeg commented Mar 14, 2025

🤔 What's changed?

As per the deprecation warning and explanation at https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

⚡️ What's your motivation?

See cucumber/common#2150

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

♻️ Anything particular you want feedback on?

Is the changelog entry fine this way?

📋 Checklist:


This text was originally generated from a template, then edited by hand. You can modify the template here.

@nodeg nodeg had a problem deploying to Publish to Nexus March 14, 2025 20:42 — with GitHub Actions Failure
@@ -26,7 +26,7 @@ jobs:
run: |
version=0.0.$GITHUB_RUN_NUMBER
echo "ThisBuild / version := \"$version\"" > version.sbt
echo "::set-output name=version::$version"
echo "version=$version" >> $GITHUB_OUTPUT
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we even need this in the 1st place? I don't see where it's used. I may be missing something obvious. It's been a long time since I wrote this!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is indeed a good question.

@gaeljw
Copy link
Member

gaeljw commented Mar 14, 2025

The CI is failing but probably not because of your changes. I'll have a look in the coming days.

@nodeg
Copy link
Member Author

nodeg commented Mar 14, 2025

I'll have a look in the coming days.

Thank you.

@gaeljw
Copy link
Member

gaeljw commented Mar 16, 2025

The CI is failing but probably not because of your changes. I'll have a look in the coming days.

It's actually caused by the fact that workflow on your branch do not have access to secrets we use to publish to Sonatype.

I'm rebasing and merging your PR. Thanks!

@gaeljw gaeljw had a problem deploying to Publish to Nexus March 16, 2025 14:12 — with GitHub Actions Failure
@gaeljw gaeljw merged commit 166f7c2 into cucumber:main Mar 16, 2025
1 check failed
@nodeg nodeg deleted the ci_set_output branch March 16, 2025 14:18
@gaeljw gaeljw linked an issue Mar 16, 2025 that may be closed by this pull request
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.

Github is deprecating set-output commands
2 participants