Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Riges
Copy link
Owner

@Riges Riges commented Apr 11, 2025

This pull request includes significant changes to the GitHub Actions workflows, specifically around the CI and release processes. The most important changes involve the removal of the old CI workflow and the addition of a new release workflow.

Changes to GitHub Actions workflows:

  • .github/workflows/ci.yml: Removed the entire CI workflow configuration, which included testing on multiple operating systems, building packages, and publishing artifacts.
  • .github/workflows/release.yml: Added a new release workflow configuration that triggers on tag pushes, builds and tests the package, and publishes the NuGet package and release artifacts.

Copilot AI review requested due to automatic review settings April 11, 2025 12:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • .github/workflows/ci.yml: Language not supported
Comments suppressed due to low confidence (1)

.github/workflows/release.yml:10

  • [nitpick] Consider renaming 'Create Package nuget' to 'Create NuGet Package' for clearer naming conventions.
+    name: Create Package nuget

@Riges Riges requested a review from Copilot April 11, 2025 12:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • .github/workflows/ci.yml: Language not supported
Comments suppressed due to low confidence (2)

.github/workflows/release.yml:35

  • [nitpick] Consider renaming the step to 'Build NuGet Package' for improved clarity and consistency.
      - name: Build package nuget

.github/workflows/release.yml:42

  • [nitpick] For consistency with other steps, consider using the GitHub Actions context syntax (e.g. '${{ env.VERSION }}') instead of '$VERSION' in the push command.
      - name: Push package

@Riges Riges requested a review from Copilot April 11, 2025 12:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • .github/workflows/ci.yml: Language not supported

@Riges Riges requested a review from Copilot April 11, 2025 12:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • .github/workflows/ci.yml: Language not supported
Comments suppressed due to low confidence (1)

.github/workflows/release.yml:43

  • [nitpick] Consider quoting the file path that contains the ${{ env.VERSION }} variable to avoid potential issues if the variable ever includes unexpected characters.
run: dotnet nuget push ./output/Netatmo.${{ env.VERSION }}.nupkg -k ${{ secrets.NUGET_ORG_KEY }} -s https://api.nuget.org/v3/index.json

@Riges Riges requested a review from Copilot April 11, 2025 12:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • .github/workflows/ci.yml: Language not supported
Comments suppressed due to low confidence (1)

.github/workflows/release.yml:18

  • The parameter expansion in this line is bash-specific; consider explicitly setting the shell to bash in this step to ensure consistent behavior in the future.
tag=${GITHUB_REF/refs\/tags\/}

@Riges Riges merged commit f1dcd79 into master Apr 14, 2025
6 checks passed
@Riges Riges deleted the feature/publish_release_refactoring branch April 14, 2025 08:51
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