Merge pull request #270 from plaidev/feat/back-link #26
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_dispatch: | |
| push: | |
| branches: [main] | |
| jobs: | |
| publish-e2e-app: | |
| runs-on: macos-26 | |
| timeout-minutes: 15 | |
| environment: | |
| name: Only Main | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 | |
| - 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/" |