diff --git a/.github/workflows/test-ios.yml b/.github/workflows/test-ios.yml index cb74d3c..e295e9e 100644 --- a/.github/workflows/test-ios.yml +++ b/.github/workflows/test-ios.yml @@ -17,10 +17,11 @@ jobs: - name: Build Nativebrik E2E run: xcodebuild -workspace ./ios/nativebrik.xcworkspace -scheme E2E -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.0.1' -derivedDataPath ./.dist - name: Zip app - run: zip -r .dist/E2E.app.zip ./.dist/Build/Products/Release-iphonesimulator/E2E.app + run: | + cd .dist/Build/Products/Release-iphonesimulator/ && zip -r E2E.app.zip ./E2E.app - name: Uploade to magicpod run: | - curl -L -X POST -F 'file=@.dist/E2E.app.zip' -H 'Authorization: Token $MAGICPOD_API_TOKEN' "https://app.magicpod.com/api/v1.0/Nativebrik.inc/Nativebrik/upload-file/" + curl -L -X POST -F 'file=@.dist/Build/Products/Release-iphonesimulator/E2E.app.zip' -H 'Authorization: Token ${{MAGICPOD_API_TOKEN}}' "https://app.magicpod.com/api/v1.0/Nativebrik.inc/Nativebrik/upload-file/" env: MAGICPOD_API_TOKEN: ${{ secrets.MAGICPOD_API_TOKEN }}