Skip to content

Commit 2c46eb2

Browse files
committed
[#498] Remove project workflows and self hosted project workflows in case CICD using bitrise or codemagic
1 parent c1ae290 commit 2c46eb2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Scripts/Swift/iOSTemplateMaker/Sources/iOSTemplateMaker/SetUpCICDService.swift

+5-1
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,21 @@ struct SetUpCICDService {
7070
fileManager.moveFiles(in: ".github/self_hosted_project_workflows", to: ".github/workflows")
7171
fileManager.removeItems(in: ".github/project_workflows")
7272
fileManager.removeItems(in: ".github/self_hosted_project_workflows")
73-
case .later, .none:
73+
case .later:
7474
print("You can manually setup the runner later.")
7575
}
7676
case .bitrise:
7777
print("Setting template for Bitrise")
7878
fileManager.removeItems(in: "codemagic.yaml")
7979
fileManager.removeItems(in: ".github/workflows")
80+
fileManager.removeItems(in: ".github/project_workflows")
81+
fileManager.removeItems(in: ".github/self_hosted_project_workflows")
8082
case .codemagic:
8183
print("Setting template for CodeMagic")
8284
fileManager.removeItems(in: "bitrise.yml")
8385
fileManager.removeItems(in: ".github/workflows")
86+
fileManager.removeItems(in: ".github/project_workflows")
87+
fileManager.removeItems(in: ".github/self_hosted_project_workflows")
8488
case .later, .none:
8589
print("You can manually setup the template later.")
8690
}

0 commit comments

Comments
 (0)