From 26ea771a430efb0037851c1e1208d3f3306ab522 Mon Sep 17 00:00:00 2001 From: RyosukeCla Date: Fri, 11 Oct 2024 14:24:56 +0900 Subject: [PATCH] update --- .github/workflows/e2e-flutter.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e-flutter.yml b/.github/workflows/e2e-flutter.yml index 3a2bbc3..1343641 100644 --- a/.github/workflows/e2e-flutter.yml +++ b/.github/workflows/e2e-flutter.yml @@ -22,15 +22,15 @@ jobs: flutter-version: 3.19.2 - name: Build iOS working-directory: flutter/nativebrik_bridge/e2e - run: flutter build ios --no-codesign + run: flutter build ios --simulator - name: Zip app working-directory: flutter/nativebrik_bridge/e2e run: | - cd build/ios/iphoneos && zip -r Runner.app.zip ./Runner.app + cd build/ios/iphonesimulator && zip -r Runner.app.zip ./Runner.app - name: Uploade to magicpod working-directory: flutter/nativebrik_bridge/e2e run: | - curl -L -X POST -F "file=@build/ios/iphoneos/Runner.app.zip" -H "Authorization: Token ${{ secrets.MAGICPOD_API_TOKEN }}" "https://app.magicpod.com/api/v1.0/Nativebrik.inc/Nativebrik-Flutter/upload-file/" + curl -L -X POST -F "file=@build/ios/iphonesimulator/Runner.app.zip" -H "Authorization: Token ${{ secrets.MAGICPOD_API_TOKEN }}" "https://app.magicpod.com/api/v1.0/Nativebrik.inc/Nativebrik-Flutter/upload-file/" publish-android-e2e-app: runs-on: ubuntu-latest @@ -51,8 +51,8 @@ jobs: flutter-version: 3.19.2 - name: Build iOS working-directory: flutter/nativebrik_bridge/e2e - run: flutter build apk + run: flutter build apk --debug - name: upload e2e app working-directory: flutter/nativebrik_bridge/e2e run: | - curl -L -X POST -F "file=@build/app/outputs/flutter-apk/app-release.apk" -H "Authorization: Token ${{ secrets.MAGICPOD_API_TOKEN }}" "https://app.magicpod.com/api/v1.0/Nativebrik.inc/Nativebrik-Flutter/upload-file/" + curl -L -X POST -F "file=@build/app/outputs/flutter-apk/app-debug.apk" -H "Authorization: Token ${{ secrets.MAGICPOD_API_TOKEN }}" "https://app.magicpod.com/api/v1.0/Nativebrik.inc/Nativebrik-Flutter/upload-file/"