jfversluis / Plugin.Maui.Feature

A template repository that can be used to bootstrap your own .NET MAUI plugin
MIT License
72 stars 7 forks source link

Parallel build action issue #7

Open kfrancis opened 7 months ago

kfrancis commented 7 months ago

I'm finding that the actions conflict with each other since they are running at the same time so one might fail with a "The process cannot access the file '' because it is being used by another process" error.

What about serializing the build into a single workflow like this? https://github.com/Clinical-Support-Systems/CommunityAbp.Emailing.Postmark/actions/runs/8468721854

image

(the package versioning and deploy push to nuget of this template is MUCH easier to wrap the head around than what I did, though I like validating the package for best practice and the serialized single workflow)

jfversluis commented 7 months ago

I'm afraid I don't understand, do you have an example of this? Because they are separate GitHub Actions they run on different runners so they shouldn't cause process being used issues. I have never seen one in this setup.

Having that said, there is definitely probably room for improvement, but I don't think the way they are set up now is the cause for what you have been seeing.

kfrancis commented 7 months ago

You can see it occurring on the ocr plugin: https://github.com/kfrancis/ocr/actions

jfversluis commented 6 months ago

I see a lot of actions there, do you have a specific one that shows the thing you're describing here? Or at least post some logs/error messages?

Also happy to look at any PR you might provide that will be an improvement in this area!