BlueRedSkyLTD / PowerDir

PowerDir is a PowerShell 7 module as alternative to Get-ChildItem
Other
0 stars 2 forks source link

[CI] when release run all tests and upload to codecov #34

Closed Raffaello closed 2 years ago

Raffaello commented 2 years ago

at the moment only the windows release job is done on the main. that's ok. I don't want to run codecov on release branch. that's ok. but i need to upload the code from the main branch to codecov to work, that's not ok.

So need to refactor the jobs_ci and split it in 2 jobs so i can extend it to add the release tasks only in the release. otherwise make them conditional, but i don't want them to be displayed at all as tasks.

so the other job will be update codecov.

make also this 2 jobs dependant, first run debug, then release to avoid to upload the release in case the debug is failing.


Raffaello commented 2 years ago

this can be done remove the GitHubRelease pipeline and instead adding a 3rd stage to run only when there is a tag and branch is main.

so the normal pipeline basically will be run "always"

Raffaello commented 2 years ago

need to test the release stage now when releaseing... :)