diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index ed39581..a3db5a1 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -25,12 +25,12 @@ jobs: - name: Build Capacitor and Cordova run: | set -eo pipefail - ./build-cap ${{ inputs.release-version }} | tee -a capacitor-build.log | xcbeautify --renderer github-actions + ./build-cap ${{ inputs.release-version }} - name: Archive Log uses: actions/upload-artifact@v4 with: - name: capacitor-build.log - path: capacitor-build.log + name: capacitor-build + path: capacitor-*-build.log - name: Sign Capacitor xcframework uses: ionic-team/sign-xcframework@main with: diff --git a/build-cap b/build-cap index f7091ef..2ad5f2d 100755 --- a/build-cap +++ b/build-cap @@ -8,7 +8,7 @@ build_capacitor_simulator() { -archivePath ./Build/iOS-Simulator \ -configuration Release \ SKIP_INSTALL=NO \ - BUILD_LIBRARY_FOR_DISTRIBUTION=YES + BUILD_LIBRARY_FOR_DISTRIBUTION=YES | tee -a ../../../capacitor-simulator-build.log | xcbeautify --renderer github-actions } build_capacitor_ios() { @@ -20,7 +20,7 @@ build_capacitor_ios() { SKIP_INSTALL=NO \ SWIFT_SERIALIZE_DEBUGGING_OPTIONS=NO \ DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" \ - BUILD_LIBRARY_FOR_DISTRIBUTION=YES + BUILD_LIBRARY_FOR_DISTRIBUTION=YES | tee -a ../../../capacitor-ios-build.log | xcbeautify --renderer github-actions } create_xcframeworks() {