Update CocoaPods example to Nubrick v0.14.0 (#295) #43
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: "E2E Test" | |
| on: | |
| workflow_call: | |
| inputs: | |
| ref: | |
| description: 'Git ref to checkout' | |
| required: false | |
| type: string | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| jobs: | |
| publish-e2e-app: | |
| # Skip E2E for release commits (Package.swift references unreleased tag) | |
| if: ${{ !startsWith(github.event.head_commit.message, '[bot] Release') }} | |
| runs-on: macos-26 | |
| timeout-minutes: 15 | |
| environment: | |
| name: Only Main | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 | |
| with: | |
| ref: ${{ inputs.ref || github.ref }} | |
| - name: Build Nubrick E2E | |
| run: xcodebuild -workspace ./Nubrick.xcworkspace -scheme E2E -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17,OS=26.1' -derivedDataPath ./.dist | |
| - name: Zip app | |
| run: | | |
| cd .dist/Build/Products/Release-iphonesimulator/ && zip -r E2E.app.zip ./E2E.app | |
| - name: Upload to MagicPod | |
| run: | | |
| curl --fail-with-body -L -X POST \ | |
| -F "[email protected]/Build/Products/Release-iphonesimulator/E2E.app.zip" \ | |
| -H "Authorization: Token ${{ secrets.MAGICPOD_API_TOKEN }}" \ | |
| "https://app.magicpod.com/api/v1.0/Nativebrik.inc/Nativebrik/upload-file/" |