Skip to content

CI: replace deprecated set-output with GITHUB_OUTPUT - #78

Merged
nabobalis merged 2 commits into
numfocus:mainfrom
Aditya30ag:fix/ci-set-output-deprecation
Dec 27, 2025
Merged

CI: replace deprecated set-output with GITHUB_OUTPUT#78
nabobalis merged 2 commits into
numfocus:mainfrom
Aditya30ag:fix/ci-set-output-deprecation

Conversation

@Aditya30ag

Copy link
Copy Markdown
Contributor

This PR replaces deprecated ::set-output usage in the CI workflow with the recommended $GITHUB_OUTPUT mechanism.

The change is minimal and preserves the existing step ID to avoid breaking downstream steps.
Fixes deprecation warnings and future-proofs the workflow.

Closing #77

Comment thread .github/workflows/test_and_deploy.yml Outdated
Comment on lines +67 to +69
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d')"
run: echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT

@nabobalis nabobalis Dec 27, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this used anywhere?

If not, should we delete it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I found no references to the date output anywhere in the repo.
we can remove the unused Get current date step from the workflow

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Then lets remove it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ok

@nabobalis
nabobalis merged commit f3a40a4 into numfocus:main Dec 27, 2025
3 checks passed
@nabobalis

Copy link
Copy Markdown
Member

Thank you

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.

2 participants