ubisoft / Sharpmake

Sharpmake is an open-source C#-based solution for generating project definition files, such as Visual Studio projects and solutions, GNU makefiles, Xcode projects, etc.
Apache License 2.0
935 stars 171 forks source link

Add GitHub Actions release workflow #260

Closed sylvainfortin closed 1 year ago

sylvainfortin commented 1 year ago

Workflow is run only on tags and automate the creation of the GitHub release.

An example of the created release can be for this fake release: https://github.com/sylvainfortin/Sharpmake/releases/tag/0.25.6. This release was the result of this release workflow: https://github.com/sylvainfortin/Sharpmake/actions/runs/4557636578.

EDIT: Also added a fix for the build job to fix a GitVersion issue when the workflow is triggered by a pull request coming from a fork.