this is inefficient because `artifact` is only needed for the first spec and `artifact_gz` is only needed for the second one.