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

Update CD workflow to include creating, validating, testing, and deploying NuGet package #11

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

hootanht
Copy link
Owner

Update the GitHub Actions workflow to create, validate, test, and deploy a NuGet package.

  • README.md

    • Update the CI pipeline section to reflect the new workflow.
    • Update the CD pipeline section to reflect the new workflow.
  • .github/workflows/cd.yml

    • Add steps for creating, validating, testing, and deploying the NuGet package.
    • Handle manual triggers, pull requests, and releases.
    • Use environment variables for the NuGet directory.
    • Use the latest versions of GitHub Actions for checkout, setup-dotnet, and upload-artifact.

…oying NuGet package

Update the GitHub Actions workflow to create, validate, test, and deploy a NuGet package.

* **README.md**
  - Update the CI pipeline section to reflect the new workflow.
  - Update the CD pipeline section to reflect the new workflow.

* **.github/workflows/cd.yml**
  - Add steps for creating, validating, testing, and deploying the NuGet package.
  - Handle manual triggers, pull requests, and releases.
  - Use environment variables for the NuGet directory.
  - Use the latest versions of GitHub Actions for checkout, setup-dotnet, and upload-artifact.
* **PrsianDate/PersianDate.csproj**
  - Add `<GenerateDocumentationFile>true</GenerateDocumentationFile>` to generate XML documentation.
  - Add `<IncludeSymbols>true</IncludeSymbols>` to generate symbol files.
  - Add `<ReadmeFile>README.md</ReadmeFile>` to include the readme file in the NuGet package.

* **PrsianDate/PersianDateShamsi.cs**
  - Add XML documentation comments to all public methods and properties.
  - Add `<summary>` tags to describe the purpose of each method.
  - Add `<param>` tags to describe each parameter.
  - Add `<returns>` tags to describe the return value.

* **PrsianDate/ToShamsi.cs**
  - Add XML documentation comments to all public methods and properties.
  - Add `<summary>` tags to describe the purpose of each method.
  - Add `<param>` tags to describe each parameter.
  - Add `<returns>` tags to describe the return value.
@hootanht hootanht merged commit 4608427 into master Sep 12, 2024
3 checks passed
@hootanht hootanht deleted the update-cd-workflow branch September 12, 2024 12:33
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