Skip to content

Commit 0f97aa1

Browse files
authored
Merge pull request #238 from Coder-Star/bug/action
fix: archive build, the ACTION value is install
2 parents 86e64d3 + 9f5c455 commit 0f97aa1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Sources/XCRemoteCache/Stats/CacheHitLogger.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ActionSpecificCacheHitLogger: CacheHitLogger {
3737
case .index:
3838
hitCounter = .indexingTargetHitCount
3939
missCounter = .indexingTargetMissCount
40-
case .build:
40+
case .build, .archive:
4141
hitCounter = .targetCacheHit
4242
missCounter = .targetCacheMiss
4343
case .unknown:

Sources/XCRemoteCache/Xcode/BuildActionType.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ enum BuildActionType: String, Codable {
2525
case build
2626
/// An extra build, exclusive for indexing (Introduced in Xcode 13)
2727
case index = "indexbuild"
28+
/// Archive build
29+
case archive = "install"
2830
/// Unknown type, probably incompatible Xcode version used
2931
case unknown
3032
}

0 commit comments

Comments
 (0)