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

Fix CD error related to deprecated set-output command #26

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

hootanht
Copy link
Owner

Fix the CD error related to the deprecated set-output command in the GitHub Actions workflow.

  • global.json

    • Update the version property to "8.0.401" to match the .NET SDK version used in the workflows.
  • .github/workflows/CD.yml

    • Replace the set-output command with the new environment files method in the create_github_release job.
    • Update the run step in the create_github_release job to write the version to a temporary environment file.
    • Use the new environment file to set the VERSION output.
    • Update the Create GitHub Release step to use the new VERSION environment variable.
    • Update the Upload Release Asset step to use the new VERSION environment variable.

Fix the CD error related to the deprecated `set-output` command in the GitHub Actions workflow.

* **global.json**
  - Update the `version` property to "8.0.401" to match the .NET SDK version used in the workflows.

* **.github/workflows/CD.yml**
  - Replace the `set-output` command with the new environment files method in the `create_github_release` job.
  - Update the `run` step in the `create_github_release` job to write the version to a temporary environment file.
  - Use the new environment file to set the `VERSION` output.
  - Update the `Create GitHub Release` step to use the new `VERSION` environment variable.
  - Update the `Upload Release Asset` step to use the new `VERSION` environment variable.
@hootanht hootanht merged commit c9ef962 into master Sep 12, 2024
4 checks passed
@hootanht hootanht deleted the fix-cd-error branch September 12, 2024 15:30
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