-
Notifications
You must be signed in to change notification settings - Fork 59
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
Ignore missing files when compressing target directories #66
Conversation
@djspiewak please have a look |
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.
This is great! Thank you!
@majk-p Looks like some of the workflows need to be updated with the new flag! |
Thanks @djspiewak! just regenerated the workflows, should work now 🤞 |
I think it's actually the tests that are the problem. Specifically:
The easiest thing to do is probably go in and manually edit the |
Sorry, I should've tested it locally. The |
Looks like |
Seems to be that way on desktop as well. One way we can work around this is to just install our own |
I'm on macos and my tar is bsdtar, it does complain about the flag. Gnutar recognizes it. edit: somehow I completely missed Daniel's comment saying basically the same thing 😂 |
Just saw this—I actually ran into this problem with feral and my solution was to ThisBuild / githubWorkflowGeneratedUploadSteps ~= { steps =>
val mkdirStep = steps.headOption match {
case Some(WorkflowStep.Run(command :: _, _, _, _, _, _)) =>
WorkflowStep.Run(
commands = List(command.replace("tar cf targets.tar", "mkdir -p")),
name = Some("Make target directories")
)
case _ => sys.error("Can't generate make target dirs workflow step")
}
mkdirStep +: steps
} https://github.com/typelevel/feral/blob/579409b9e228854ba6ff3d8033cd5baa71793f4a/build.sbt#L45 Update: this fix is now automatically applied in sbt-typelevel. |
@armanbilge Should we aim to get this merged or is there some additional work that needs to be done that I am missing? |
@mdedetrich unfortunately the fix in this PR doesn't work. You should port my fix from sbt-typelevel that I mentioned above. |
@armanbilge Thanks for the reply, I will close this PR then and we can reimplement the proper fix separately. |
This PR resolves #60