From 1fa264d0309c12cf2ffbdfe2302809e6e1f65ccf Mon Sep 17 00:00:00 2001 From: Philip Niedertscheider Date: Wed, 11 Nov 2026 14:52:05 +0100 Subject: [PATCH] ci: Use shared diagnostics action v0.0.1 --- .github/workflows/release.yml | 4 ++++ scripts/create-xcframework.sh | 17 +---------------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d764e9b..e4039915 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,10 @@ jobs: - name: Create XCFramework run: make build-xcframework + - name: CI diagnostics + if: always() + uses: philprime/diagnostics-action@v0.0.1 + - name: Create GitHub Release uses: softprops/action-gh-release@v3 with: diff --git a/scripts/create-xcframework.sh b/scripts/create-xcframework.sh index 1edc6d55..7e5e8ab0 100755 --- a/scripts/create-xcframework.sh +++ b/scripts/create-xcframework.sh @@ -19,26 +19,11 @@ set -o pipefail ARCHIVES_PATH="$(pwd)/archives" OUTPUT_XCFRAMEWORK_PATH="$ARCHIVES_PATH/TPPDF.xcframework" -echo "Tool Versions:" -echo " - xcodebuild: $(xcodebuild -version)" -echo " - swift: $(swift --version)" - -echo "Available SDKs:" -xcodebuild -showsdks +echo "Swift version: $(swift --version)" echo "Available Destinations:" xcodebuild -showdestinations -scheme TPPDF -echo "Available Simulators:" -xcrun simctl list devices - -echo "Selected SDK Info:" -echo " - Path: $(xcrun -show-sdk-path)" -echo " - Version: $(xcrun -show-sdk-version)" -echo " - Build Version: $(xcrun -show-sdk-build-version)" -echo " - Platform Path: $(xcrun -show-sdk-platform-path)" -echo " - Platform Version: $(xcrun -show-sdk-platform-version)" - # 1. Archive the Swift Package for each platform echo "Building XCFramework for iOS" xcodebuild archive \