diff --git a/.github/workflows/flutter_ios_build.yml b/.github/workflows/flutter_ios_build.yml index 593e0110..a371d5ed 100644 --- a/.github/workflows/flutter_ios_build.yml +++ b/.github/workflows/flutter_ios_build.yml @@ -42,11 +42,13 @@ jobs: - run: flutter test - name: Build and Deploy iOS App env: + APPSTORE_CONNECT_PRIVATE_KEY_BASE64: ${{ secrets.APPSTORE_CONNECT_PRIVATE_KEY_BASE64 }} APPSTORE_CONNECT_KEY_ID: ${{ secrets.APPSTORE_CONNECT_KEY_ID }} APPSTORE_CONNECT_ISSUER_ID: ${{ secrets.APPSTORE_CONNECT_ISSUER_ID }} run: | + echo -n "$APPSTORE_CONNECT_PRIVATE_KEY_BASE64" | base64 --decode -o ~/AuthKey.p8 flutter build ipa --flavor inte -t lib/main_inte.dart --release --no-codesign - xcodebuild -exportArchive -archivePath "build/ios/archive/DAS Inte.xcarchive" -exportOptionsPlist ios/exportOptionsRelease.plist -allowProvisioningUpdates -authenticationKeyIssuerID $APPSTORE_CONNECT_ISSUER_ID -authenticationKeyID $APPSTORE_CONNECT_KEY_ID -authenticationKeyPath ~/AuthKey.p8 + xcodebuild -exportArchive -archivePath "build/ios/archive/DAS Inte.xcarchive" -exportOptionsPlist ios/exportOptionsRelease.plist -allowProvisioningUpdates -authenticationKeyIssuerID "$APPSTORE_CONNECT_ISSUER_ID" -authenticationKeyID "$APPSTORE_CONNECT_KEY_ID" -authenticationKeyPath ~/AuthKey.p8 # - run: flutter build ios --flavor dev -t lib/main_dev.dart --release # - run: flutter build ios --flavor dev -t lib/main_dev.dart --release # - run: flutter build ios --flavor inte -t lib/main_inte.dart --release diff --git a/das_client/README.md b/das_client/README.md index 48963477..c3e96850 100644 --- a/das_client/README.md +++ b/das_client/README.md @@ -13,4 +13,4 @@ A few resources to get you started if this is your first Flutter project: For help getting started with Flutter development, view the [online documentation](https://docs.flutter.dev/), which offers tutorials, -samples, guidance on mobile development, and a full API reference. \ No newline at end of file +samples, guidance on mobile development, and a full API reference.