Plugin.Maui.Feature icon indicating copy to clipboard operation
Plugin.Maui.Feature copied to clipboard

Parallel build action issue

Open kfrancis opened this issue 1 year ago • 3 comments

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)

kfrancis avatar Mar 28 '24 16:03 kfrancis

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.

jfversluis avatar Mar 28 '24 18:03 jfversluis

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

kfrancis avatar Apr 03 '24 01:04 kfrancis

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!

jfversluis avatar Apr 25 '24 12:04 jfversluis