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

docs: remove deprecated set-output from example #814

Merged

Conversation

MikeMcC399
Copy link
Collaborator

This PR updates the README example Robust custom build id which contains code

run: echo "::set-output name=value::sha-$GITHUB_SHA-time-$(date +"%s")"

that GitHub has deprecated. GitHub Actions: Deprecating save-state and set-output commands states "We are monitoring telemetry for the usage of these commands and plan to fully disable them on 31st May 2023".

I already changed the workflow example-custom-ci-build-id through PR #675 in December 2022 and at the time it was overlooked that the same problem was also contained in the corresponding text version of the example.

The replacement line of code is:

echo "value=sha-$GITHUB_SHA-time-$(date +"%s")" >> $GITHUB_OUTPUT

exactly as used in

run: echo "value=sha-$GITHUB_SHA-time-$(date +"%s")" >> $GITHUB_OUTPUT

Correct Robust custom build id example in README
@MikeMcC399 MikeMcC399 marked this pull request as ready for review March 3, 2023 16:22
@mjhenkes mjhenkes merged commit 804c7fa into cypress-io:master Mar 7, 2023
@MikeMcC399 MikeMcC399 deleted the docs/custom-ci-build-example branch March 7, 2023 14:11
@github-actions
Copy link

github-actions bot commented Mar 7, 2023

🎉 This PR is included in version 5.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@MikeMcC399 MikeMcC399 added the documentation Improvements or additions to documentation label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants