ci: automated release workflow (semantic-release + OIDC trusted publishing) #196
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: iOS CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| paths-ignore: | |
| - '**.md' | |
| pull_request: | |
| branches: [ master ] | |
| paths-ignore: | |
| - '**.md' | |
| jobs: | |
| ios-compile: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/actions/setup-node | |
| - name: Cache cocoapods | |
| uses: actions/cache@v4 | |
| with: | |
| path: ./examples/GumTestApp/ios/Pods | |
| key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pods- | |
| - name: Install example node modules | |
| working-directory: ./examples/GumTestApp/ | |
| run: npm install | |
| - name: Pod install | |
| working-directory: ./examples/GumTestApp/ios | |
| run: pod install | |
| - name: Compile iOS Example | |
| working-directory: ./examples/GumTestApp/ios | |
| run: | | |
| set -o pipefail && \ | |
| xcodebuild -workspace GumTestApp.xcworkspace/ \ | |
| -scheme GumTestApp \ | |
| -destination generic/platform=iOS \ | |
| CODE_SIGN_IDENTITY="" \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGN_ENTITLEMENTS="" \ | |
| CODE_SIGNING_ALLOWED="NO" clean build \ | |
| | xcpretty |