GitTools / GitVersion

From git log to SemVer in no time
https://gitversion.net/docs/
MIT License
2.83k stars 649 forks source link

Add Github Actions BuildAgent #1931

Closed arturcic closed 4 years ago

VikingTristan commented 4 years ago

Hey, I have a question. I'm having some trouble wrapping GitVersion environment variables together with github action workflows. Is this related?

arturcic commented 4 years ago

This issue is for adding GitHub Action support as build agent, basically when running inside of a GithubAction agent it will have the context of the agent available and it will consume the env variables, and/ or set the env vars

arturcic commented 4 years ago

https://github.com/GitTools/GitVersion/tree/master/src/GitVersionCore/BuildServers as examples

StanleyGoldman commented 4 years ago

I'm starting this pull request now.

StanleyGoldman commented 4 years ago

The PR is good to go!

StanleyGoldman commented 4 years ago

@VikingTristan if you want to give my pull request a try, I could use the validation that it works.

VikingTristan commented 4 years ago

Sure! Is it possible for me to tell my agent to download your specific gitversion pull request build?

With something like choco install gitversion.portable x.x.x-xx