Skip to content

ci: GitHub Actions update#352

Merged
RossNordby merged 3 commits intobepu:masterfrom
VaclavElias:feature-update-github-actions
Mar 10, 2025
Merged

ci: GitHub Actions update#352
RossNordby merged 3 commits intobepu:masterfrom
VaclavElias:feature-update-github-actions

Conversation

@VaclavElias
Copy link
Copy Markdown
Contributor

@VaclavElias VaclavElias commented Dec 29, 2024

This is the final PR, which will create a tag and draft release. The main aim of these changes is to make it easier to see what PRs were made each release.

  • updated: dotnet-core.yml
    • Disabling NuGet Publish
    • Add ignore paths, no need to trigger GitHub Actions when certain folders are updated
    • Actions version bumped
    • Name renamed
  • new: dotnet-core-publish.yml
    • the same functionality as dotnet-core.yml
    • manual NuGet Publish by running this action
    • version auto increment
    • draft release creation, which should help bringing PRs summaries as you can see in the image below
    • once the draft release is published, everyone with notification set should be notified about the release by email automatically

image

- Changed the workflow name from ".NET Core" to ".NET Core - Build and Test".
- Updated `actions/checkout` action from version 2 to version 4.
- Updated `actions/setup-dotnet` action from version 1 to version 4.
- Commented out the `Publish` step, which included adding a NuGet source, packing projects, and pushing the packages to GitHub and NuGet.
- New: Add a new GitHub Actions workflow named ".NET Core - Publish NuGet Packages".
- New: Set environment variables `COMMON_SETTINGS_PATH` and `BASE_RUN_NUMBER`.
- New: Trigger the workflow manually using `workflow_dispatch`.
- New: Print the GitHub run number.
- New: Set a version number using the GitHub run number and `BASE_RUN_NUMBER`, and store it in the environment variable `VERSION`.
- New: Print the `VERSION` environment variable.
- All steps remains the same as original GitHub Action
- New: Create a GitHub release draft with the new version number and release notes.
@RossNordby RossNordby merged commit 1772bb6 into bepu:master Mar 10, 2025
@VaclavElias VaclavElias deleted the feature-update-github-actions branch March 10, 2025 23:12
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