File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed
Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change 7171 - name : Pull LFS files
7272 run : git lfs pull
7373
74- - name : Resolve SPM dependencies
75- run : |
76- # Nuke entire SPM cache to avoid stale build artifacts
77- rm -rf ~/.spm-cache
78- xcodebuild -project TablePro.xcodeproj \
79- -target "${{ steps.plugin-info.outputs.target }}" \
80- -clonedSourcePackagesDirPath "$HOME/.spm-cache" \
81- -skipPackagePluginValidation \
82- -resolvePackageDependencies
83-
8474 - name : Build plugin (ARM64)
8575 run : ./scripts/build-plugin.sh "${{ steps.plugin-info.outputs.target }}" arm64
8676
Original file line number Diff line number Diff line change @@ -23,10 +23,6 @@ build_plugin() {
2323
2424 echo " Building $PLUGIN_TARGET ($arch )..." >&2
2525
26- # Persistent SPM package cache (speeds up CI on self-hosted runners)
27- SPM_CACHE_DIR=" ${HOME} /.spm-cache"
28- mkdir -p " $SPM_CACHE_DIR "
29-
3026 if ! xcodebuild \
3127 -project " $PROJECT " \
3228 -target " $PLUGIN_TARGET " \
@@ -38,7 +34,6 @@ build_plugin() {
3834 CODE_SIGN_STYLE=Manual \
3935 DEVELOPMENT_TEAM=" $TEAM_ID " \
4036 -skipPackagePluginValidation \
41- -clonedSourcePackagesDirPath " $SPM_CACHE_DIR " \
4237 build 2>&1 | tee " build-plugin-${arch} .log" >&2 ; then
4338 echo " FATAL: xcodebuild failed for $PLUGIN_TARGET ($arch )" >&2
4439 echo " Check build-plugin-${arch} .log for details" >&2
You can’t perform that action at this time.
0 commit comments