Skip to content

Commit 75bac32

Browse files
authored
Merge pull request #227 from CharlieSuP1/master
prebuild should run artifactsOrganizer.prepare(artifact:) method even if artifacts exists locally
2 parents 8c89e88 + 68b1f76 commit 75bac32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/XCRemoteCache/Commands/Prebuild/Prebuild.swift

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ class Prebuild {
9191
switch artifactPreparationResult {
9292
case .artifactExists(let artifactDir):
9393
infoLog("Artifact exists locally at \(artifactDir)")
94+
_ = try artifactsOrganizer.prepare(artifact: artifactDir)
9495
try artifactsOrganizer.activate(extractedArtifact: artifactDir)
9596
case .preparedForArtifact(let artifactPackage):
9697
infoLog("Downloading artifact to \(artifactPackage)")

0 commit comments

Comments
 (0)