This looks like a great action that I'd like to use, but it isn't compatible with how we configure Next.js's distDir. More specifically, we have a variety of tools in our repository that use a common .build directory for outputting any build-related artifacts. So, for example, Next.js uses .build/next. While we could certainly update the variety of places (ignore files, cleanup scripts, etc.) we assume .build/next, it would be nice if there was a way for this action to accept a working directory that maps more directly to how distDir behaves instead of assuming a .next folder must exist.
I do recognize that changing the behavior of the working-directory input in this manner would be a breaking change, but I'm wondering if this sort of functionality is something you'd be amenable to adopting (either as a future version or via some other combinations of inputs that preserves the current functionality)? Thanks!
This looks like a great action that I'd like to use, but it isn't compatible with how we configure Next.js's
distDir. More specifically, we have a variety of tools in our repository that use a common.builddirectory for outputting any build-related artifacts. So, for example, Next.js uses.build/next. While we could certainly update the variety of places (ignore files, cleanup scripts, etc.) we assume.build/next, it would be nice if there was a way for this action to accept a working directory that maps more directly to howdistDirbehaves instead of assuming a.nextfolder must exist.I do recognize that changing the behavior of the
working-directoryinput in this manner would be a breaking change, but I'm wondering if this sort of functionality is something you'd be amenable to adopting (either as a future version or via some other combinations of inputs that preserves the current functionality)? Thanks!