Skip to content

Commit 1183e38

Browse files
leogdionclaude
andcommitted
Update BushelCloud workflows to use remote MistKit
- Add step to replace local MistKit path with GitHub URL (main branch) - Add skip-package-resolved: true to swift-build actions - Remove Package.resolved before builds for clean dependency resolution Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 7ba239b commit 1183e38

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/workflows/BushelCloud.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,15 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v4
24+
25+
- name: Update Package.swift to use remote MistKit branch
26+
run: |
27+
sed -i 's|\.package(name: "MistKit", path: "\.\./\.\.")|.package(url: "https://github.com/brightdigit/MistKit.git", branch: "main")|g' Package.swift
28+
rm -f Package.resolved
29+
2430
- uses: brightdigit/swift-build@v1.4.2
31+
with:
32+
skip-package-resolved: true
2533
- uses: sersoft-gmbh/swift-coverage-action@v4
2634
id: coverage-files
2735
with:
@@ -115,6 +123,11 @@ jobs:
115123
steps:
116124
- uses: actions/checkout@v4
117125

126+
- name: Update Package.swift to use remote MistKit branch
127+
run: |
128+
sed -i '' 's|\.package(name: "MistKit", path: "\.\./\.\.")|.package(url: "https://github.com/brightdigit/MistKit.git", branch: "main")|g' Package.swift
129+
rm -f Package.resolved
130+
118131
- name: Build and Test
119132
uses: brightdigit/swift-build@v1.4.2
120133
with:
@@ -124,6 +137,7 @@ jobs:
124137
deviceName: ${{ matrix.deviceName }}
125138
osVersion: ${{ matrix.osVersion }}
126139
download-platform: ${{ matrix.download-platform }}
140+
skip-package-resolved: true
127141

128142
# Coverage Steps
129143
- name: Process Coverage

.github/workflows/codeql.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ jobs:
7070
# queries: security-extended,security-and-quality
7171

7272

73+
# Update Package.swift to use remote MistKit branch
74+
- name: Update Package.swift to use remote MistKit branch
75+
run: |
76+
sed -i 's|\.package(name: "MistKit", path: "\.\./\.\.")|.package(url: "https://github.com/brightdigit/MistKit.git", branch: "main")|g' Package.swift
77+
rm -f Package.resolved
78+
7379
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
7480
# If this step fails, then you should remove it and run the build manually (see below)
7581
- run: |

0 commit comments

Comments
 (0)