ci: fix error #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| permissions: | |
| contents: write | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Show Xcode version | |
| run: xcodebuild -version | |
| - name: Show available SDKs | |
| run: xcodebuild -showsdks | |
| - name: Build macOS | |
| run: | | |
| xcodebuild -resolvePackageDependencies \ | |
| -project Demo/Demo-macOS/Demo-macOS.xcodeproj \ | |
| -scheme Demo-macOS | |
| xcodebuild -project Demo/Demo-macOS/Demo-macOS.xcodeproj \ | |
| -scheme Demo-macOS \ | |
| -configuration Release \ | |
| CODE_SIGN_IDENTITY="-" \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| build | |
| - name: Build iOS | |
| run: | | |
| xcodebuild -resolvePackageDependencies \ | |
| -project Demo/Demo-iOS/Demo-iOS.xcodeproj \ | |
| -scheme Demo-iOS | |
| xcodebuild -project Demo/Demo-iOS/Demo-iOS.xcodeproj \ | |
| -scheme Demo-iOS \ | |
| -configuration Release \ | |
| CODE_SIGN_IDENTITY="-" \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| build | |
| - name: Build Succeeded | |
| run: | | |
| echo "Build completed successfully." |