Skip to content

Commit

Permalink
Merge pull request #227 from CharlieSuP1/master
Browse files Browse the repository at this point in the history
prebuild should run artifactsOrganizer.prepare(artifact:) method even  if artifacts exists locally
  • Loading branch information
polac24 authored Jul 10, 2024
2 parents 8c89e88 + 68b1f76 commit 75bac32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/XCRemoteCache/Commands/Prebuild/Prebuild.swift
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class Prebuild {
switch artifactPreparationResult {
case .artifactExists(let artifactDir):
infoLog("Artifact exists locally at \(artifactDir)")
_ = try artifactsOrganizer.prepare(artifact: artifactDir)
try artifactsOrganizer.activate(extractedArtifact: artifactDir)
case .preparedForArtifact(let artifactPackage):
infoLog("Downloading artifact to \(artifactPackage)")
Expand Down

0 comments on commit 75bac32

Please sign in to comment.