Closed bdunderscore closed 2 years ago
This was tested on my fork: https://github.com/bdunderscore/UdonSharp/actions
Note that it may be preferable to restrict this to certain branch names, to avoid feature branches triggering unwanted workflows. I'd be happy to add that filter if desired.
We're going to be doing the same kind of process soon, though the implementation will be a little different so I'm going to close this PR.
This workflow will rename 'Tests' to 'Tests~', 'Samples' to 'Samples~', and remove the associated .meta files. It will then commit and force-push the result to a branch named the same as the original plus a
-release
prefixsuffix.This will allow Tests and Samples to remain available in a dev-oriented project, while having a branch excluding these which can be pulled into the package manager.
This workflow will apply to any branch which contains the workflow file.
Note that this PR does not actually move the directories in question back to their un-tilded names, and so the workflow will fail until this is done.