-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use NET 8 SDK artifacts output #4779
Conversation
Seems that there's no GH Actions workflow for pull requests, I could also recommend using NUKE for build automation 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there, thanks for the tips and the contribution! I will check it out, as well as NUKE. We are currently using GH Actions, and we should enable it for PR's as well 👍🏻
Thanks for accepting the PR, with such large codebase with multiple projects it's now easier to have all compilation artifacts under single directory. I would be happy to submit a NUKE proposal for your review, no pressure to accept but would show how things would be different (for better or worse). |
Wow, I just had a quick glance at NUKE and I eagerly want to see it in action. The ability to express the builde pipeline in C# is very compelling, and it appears to be incredible easy to simply have it execute by GtHub Actions using some attribute. If you want to submit a proposal, I would be more than happy to review and see it run. |
Great, I'll try to whip something up, might take a bit though 🙂 |
Awesome, thank you. Of course, no rush :) |
fyi, i just pulled a fresh copy of the source from elsa-core-main and was unable to build as I was getting artifact errors. I deleted the new Directory.Build.props file in the root as restarted VS and was able to build. This may need more testing. I switched to th3 3.0.3 branch that does not have this file, and all is good. It could also be my machine as I am installing .net updates and will be rebooting. Just wanted to post what I observed. |
Thanks for testing and sharing your findings @markjones-WK. I haven't had a chance yet to try for myself, but will report here my own findings when I have them. |
Thanks. Just curious. Why would it be pushed to the main branch and not the 3.0.3 branch or another branch other than main?
From: Sipke Schoorstra ***@***.***>
Sent: Monday, January 15, 2024 3:32 PM
To: elsa-workflows/elsa-core ***@***.***>
Cc: Jones, Mark ***@***.***>; Mention ***@***.***>
Subject: Re: [elsa-workflows/elsa-core] Use NET 8 SDK artifacts output (PR #4779)
Caution, this email may be from a sender outside Wolters Kluwer. Verify the sender and know the content is safe.
Thanks for testing and sharing your findings @markjones-WK<https://github.com/markjones-WK>. I haven't had a chance yet to try for myself, but will report here my own findings when I have them.
-
Reply to this email directly, view it on GitHub<#4779 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A6CEQULPIAPKV42JG6RIANDYOWN5RAVCNFSM6AAAAABBTMLFL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSG44DKNBRGA>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
The 3.0.3 branch is for the upcoming patch release and ideally not for larger changes. The main branch is for larger changes and additions from which 3.1 will be released around March. |
@sfmskywalker can you please revert this for now, I somehow missed the incompatibility between root outputs and ProtoGen tasks, they seem to be quite strict about being under project folder. I'll make amends with a PR to build the PRs and then maybe try this again when CI judge rules the code as compatible... |
I get it, but isn't the Main branch supposed for the current release branch (3.0.2)? As you mentioned, this PR was not tested and is now asking to be reverted, so if I wanted the released 3.0.2 source code, where would I go to get it? |
Of course, no worries. Thank you for having figured that one out 👍🏻 |
This reverts commit 7995b85.
@markjones-WK The main branch should contain the latest and greatest changes from which we do minor releases (3.1 being the first upcoming one). I am experimenting to see if we can provided patches (revision releases) via tags only. Not sure if it will work out, but so far it seems OK. If you want to get the source code for the 3.0.2 release, checkout the commit with that tag. |
I've opened asynkron/protoactor-dotnet#2095 to track the problematic behavior. |
Thank you! I noticed it has been tagged as a bug by the maintainer 👍🏻 |
Use the new NET 8 SDK artifacts output layout feature which consolidates
bin
andobj
folders under root levelartifacts
directory. Need to haveDirectory.Build.props
to root level for proper configuration (you might want to consider such standard way over common.props too). For a solution with large amount of projects this can help both with I/O performance and cleanup (deletingobj
andbin
folders as they are in single place).To remove old cruft, might be good idea to run locally in solution root directory: