Thomas-Sparber / wmi

Very simple C++ library to query WMI (even for MinGW)
Other
91 stars 24 forks source link

Allow publish of pre-build packages for mingw and msvc. #27

Closed PerryWerneck closed 1 year ago

PerryWerneck commented 1 year ago

I'm working in a github action to publish pre build packages for mingw and msvc (here: https://github.com/PerryWerneck/wmi/blob/master/.github/workflows/publish.yml) and I'm wondering if you want to use it in the original wmi package (this project). Before submit the PR I think you need to do some settings in the project...

Thomas-Sparber commented 1 year ago

Hi PerryWerneck,

yes sure, that sounds like a great idea! I just created version v1.0. How can I allow actions to publish releases? I went under "Actions" but it seems like I need to create an yml file there. Can you guide me what I need to do please?

Thanks

PerryWerneck commented 1 year ago

I created the yml file, will send you a PR as soon as possible.

Thomas-Sparber commented 1 year ago

Perfect, I just merged it and it seems to be working:

image

I also just received a mail with my new release. MSVC build was successfully added to the release!

What does that mean now, everytime I create a new release an automatic build is performed?

PerryWerneck commented 1 year ago

Hi,

Ops! My fault! It will build and publish in every commit or pull request on master branch. I'm used to allwais keep my master branch protected and work using a develop branch then use a PR to send changes to master. Will check how to publish only in releases and submit a new PR fixing it.

For now I think it's great. Just checked the msvc zip file and seens ok to me.