From 99d714c70f5596f775893a0c2eeccb6049c0be14 Mon Sep 17 00:00:00 2001 From: AhmedMajedKaz <31239202+AhmedMajedKaz@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:11:00 +0300 Subject: [PATCH] Create dart.yml --- .github/workflows/dart.yml | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/dart.yml diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml new file mode 100644 index 0000000..4cb12ce --- /dev/null +++ b/.github/workflows/dart.yml @@ -0,0 +1,42 @@ +name: iOS-ipa-build + +on: + workflow_dispatch: + +jobs: + build-ios: + name: 🎉 iOS Build + runs-on: macos-latest + steps: + - uses: actions/checkout@v3 + + - uses: subosito/flutter-action@v2 + with: + channel: 'stable' + architecture: x64 + - run: flutter pub get + + + - run: pod repo update + working-directory: ios + + - run: flutter build ios --release --no-codesign + + - run: mkdir Payload + working-directory: build/ios/iphoneos + + - run: mv Runner.app/ Payload + working-directory: build/ios/iphoneos + + - name: Zip output + run: zip -qq -r -9 FlutterIpaExport.ipa Payload + working-directory: build/ios/iphoneos + + - name: Upload binaries to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: build/ios/iphoneos/FlutterIpaExport.ipa + tag: v1.0 + overwrite: true + body: "This is first release"