forked from eatvio/eatvio_app
Обновить .gitea/workflows/test-flight-cd.yaml
This commit is contained in:
@@ -8,51 +8,7 @@ jobs:
|
||||
build:
|
||||
runs-on: [macos-arm64]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Remove cache
|
||||
run: rm -rf /Users/gitea_runner_ci/Library/Developer/Xcode/DerivedData/*
|
||||
|
||||
- name: Download provisioning
|
||||
uses: mso7nueh/apple-provisioning-profiles-downloader@v1.0.8
|
||||
with:
|
||||
profile-type: IOS_APP_STORE
|
||||
bundle-id: com.eatvioapp.app
|
||||
issuer-id: ${{ vars.APPSTORE_ISSUER_ID }}
|
||||
api-key-id: ${{ vars.APPSTORE_KEY_ID }}
|
||||
api-private-key: ${{ vars.APPSTORE_PRIVATE_KEY }}
|
||||
|
||||
- name: Unlock keychain
|
||||
- name: Run Fastlane
|
||||
run: |
|
||||
security unlock-keychain -p "EeChahboo9Ei" login.keychain
|
||||
security set-key-partition-list -S apple-tool:,apple: -s -k "EeChahboo9Ei" login.keychain
|
||||
|
||||
- name: Ensure private key access
|
||||
run: |
|
||||
security set-key-partition-list -S apple-tool:,apple: -s -k "EeChahboo9Ei" ~/Library/Keychains/login.keychain-db
|
||||
|
||||
- name: List identities in keychain
|
||||
run: |
|
||||
security list-keychains
|
||||
security find-identity -v -p codesigning login.keychain
|
||||
|
||||
- name: Set keychain default
|
||||
run: |
|
||||
security default-keychain -s login.keychain
|
||||
|
||||
- name: Build with Flutter
|
||||
run: |
|
||||
flutter clean
|
||||
flutter pub get
|
||||
flutter pub upgrade
|
||||
flutter pub run build_runner build --delete-conflicting-outputs
|
||||
flutter build ipa --export-options-plist=Support/ExportOptions.plist --release
|
||||
|
||||
- name: Upload to TestFlight
|
||||
uses: mso7nueh/upload-testflight-build@master
|
||||
with:
|
||||
app-path: ./build/ios/ipa/eatvio_app.ipa
|
||||
issuer-id: ${{ vars.APPSTORE_ISSUER_ID }}
|
||||
api-key-id: ${{ vars.APPSTORE_KEY_ID }}
|
||||
api-private-key: ${{ vars.APPSTORE_PRIVATE_KEY }}
|
||||
cd ios
|
||||
fastlane beta
|
||||
Reference in New Issue
Block a user