From 7c40f14364878fbf3c73866673fa10996779c30f Mon Sep 17 00:00:00 2001 From: mso7nueh Date: Wed, 19 Mar 2025 10:58:21 +0300 Subject: [PATCH] feat: upd tf --- .DS_Store | Bin 10244 -> 10244 bytes .gitea/workflows/test-flight-cd.yaml | 61 +++++++++------------------ Build-tf | 1 + android/.DS_Store | Bin 0 -> 6148 bytes 4 files changed, 21 insertions(+), 41 deletions(-) create mode 100644 android/.DS_Store diff --git a/.DS_Store b/.DS_Store index 50b6c093799f8145f1674ed47c7eb89c98032404..1ea62397377fa3c9d7e919b69fb702fa9bb34479 100644 GIT binary patch delta 360 zcmZn(XbG6$&*-`_U^hRb>*NFhiOnhk+Dw!03$;%^CDz1dprc@HYB2eaq&+`7Ln1>S zLkdF?Lq0<$L&{_Y5fg18Dd~6t;iSam?DV4i(!3Ps{G9wEr<~H%cme+6jQn!Xxl zp@CsK!(xW@3A)<;mf~ n6Qt1`S{7WCmy@5D4m6!{^Aq9woSWGdez8oh6_ucyop%@k_;+4q delta 192 zcmZn(XbG6$&*-)>U^hRb+vEfRiOnhk+D!HA40;S@48;t|4EYQx45>NkhQZ1CxdjYh zz;pyip{dBtcX3I|$xi~xaBSzAU;Co$m?Jh-DMY9$$lyh`PGGXPQ1|2>(Z@&dve{LfnHc~*pD~UA diff --git a/.gitea/workflows/test-flight-cd.yaml b/.gitea/workflows/test-flight-cd.yaml index 8e4fe97e..abcad11b 100644 --- a/.gitea/workflows/test-flight-cd.yaml +++ b/.gitea/workflows/test-flight-cd.yaml @@ -1,5 +1,4 @@ -name: "Flutter Build & TestFlight Upload" - +name: "Build Test Flight" on: pull_request: branches: @@ -9,29 +8,26 @@ jobs: build: runs-on: [macos-arm64] steps: - - name: Checkout repository - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v2 - - name: Install dependencies - run: flutter pub get - - - name: Build iOS App + - name: Delete existing keychain if present run: | - flutter build ipa \ - --release \ - --no-codesign + if security list-keychains | grep -q "signing_temp.keychain"; then + security delete-keychain signing_temp.keychain + fi - - name: Setup keychain and provisioning profiles - run: | - security create-keychain -p "" signing_temp.keychain - security default-keychain -s signing_temp.keychain - security unlock-keychain -p "" signing_temp.keychain - echo "${{ secrets.CERTIFICATES_FILE_BASE64 }}" | base64 --decode > certs.p12 - security import certs.p12 -P "${{ secrets.CERTIFICATES_PASSWORD }}" -A - rm -f certs.p12 + - name: Import code sign + uses: mso7nueh/import-codesign-certs@v1 + env: + KEYCHAIN_PATH: ${{ runner.temp }}/signing_temp.keychain + with: + keychain-path: ${{ env.KEYCHAIN_PATH }} + p12-file-base64: ${{ secrets.CERTIFICATES_FILE_BASE64 }} + p12-password: ${{ secrets.CERTIFICATES_PASSWORD }} - - name: Download provisioning profiles - uses: apple-actions/download-provisioning-profiles@v1 + - name: Download provisioning + uses: mso7nueh/apple-provisioning-profiles-downloader@v1.0.8 with: profile-type: IOS_APP_STORE bundle-id: com.eatvioapp.app @@ -39,29 +35,12 @@ jobs: api-key-id: ${{ secrets.APPSTORE_KEY_ID }} api-private-key: ${{ secrets.APPSTORE_PRIVATE_KEY }} - - name: Code signing - run: | - xcodebuild \ - -workspace ios/Runner.xcworkspace \ - -scheme Runner \ - -archivePath build/Runner.xcarchive \ - -sdk iphoneos \ - -configuration Release \ - clean archive \ - CODE_SIGN_IDENTITY="iPhone Distribution" \ - PROVISIONING_PROFILE_SPECIFIER="$(ls ~/Library/MobileDevice/Provisioning\ Profiles | head -n 1)" - - - name: Export IPA - run: | - xcodebuild -exportArchive \ - -archivePath build/Runner.xcarchive \ - -exportPath build/ \ - -exportOptionsPlist ios/exportOptions.plist + - run: ./Build-tf - name: Upload to TestFlight - uses: apple-actions/upload-testflight-build@v1 + uses: mso7nueh/upload-testflight-build@master with: - app-path: build/EatvioApp.ipa + app-path: .build/Artifacts/EatvioApp.ipa/EatvioApp.ipa issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }} api-key-id: ${{ secrets.APPSTORE_KEY_ID }} api-private-key: ${{ secrets.APPSTORE_PRIVATE_KEY }} \ No newline at end of file diff --git a/Build-tf b/Build-tf index 13c0fc98..c9fecb0a 100755 --- a/Build-tf +++ b/Build-tf @@ -33,6 +33,7 @@ flutter pub get cd ios rm -rf Pods Podfile.lock pod install --repo-update +pod update cd .. rm -rf "${RESULT_BUNDLE_PATH}" diff --git a/android/.DS_Store b/android/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..8db9f5e074deac5ed708cefcf0842c320db30787 GIT binary patch literal 6148 zcmeHKOHRWu5S?iYR1`|tKsQJ^K_zYwspcLbX?rErV6JUoXbVsr4 zkDm+vHsEgo&6tL+CcPFkcRn@YdyF^{qQo?E?f9)=cYypN`7knMk z6(TO+ErnOfV20YS%XuT=@+HUR=9(&w3X%8ox~Si9Kh-Q!R5qfy%Y*WlkGAD_cyzT{ z;^nm)t~Mgdx~ByzSpyG1~&~G%O(7@z-$6GBVdX8be;3D_w=chm6_l< z9AmWRDbbb9TO)ygD%i6{>J5Xw_Y8OjJOdvL$oC;Y6AUe82KCc{PLBY<8m3intv~<3 zKqi2p#mpdPAZ$#5#+2<5gYDUYjXCazRzEXn%!xHJ{Mg8BPbh4U9vrATacI!@o&nE* z%Rto(TeAP3et-UVjr_pK>Uw@(%?JKz>hNU4wH%4&Hw-a literal 0 HcmV?d00001