forked from maplibre/maplibre-native
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (24 loc) · 1.06 KB
/
Copy pathios-testapp-release.yml
File metadata and controls
29 lines (24 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
on:
workflow_dispatch:
jobs:
ios-testapp-release:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Setup certificate
run: |
echo "${{ secrets.IOS_DISTRIBUTION_CERTIFICATE }}" | base64 --decode > platform/ios/app-swift/MapLibre.mobileprovision
- name: Update BUILD.bazel
run: |
sed -i '' 's/xcode_profile/:MapLibre.mobileprovision/' platform/ios/app-swift/BUILD.bazel
- name: Build
run: bazel build //platform/ios/app-swift:MapLibreApp -c opt --ios_multi_cpus=arm64 --//:renderer=metal --action_env=SENTRY_DSN=${{ vars.SENTRY_DSN_IOS }} --embed_label=maplibre_app_1.0_build_"$(date +%s)"
- name: 'Upload app to TestFlight'
uses: apple-actions/upload-testflight-build@v4
with:
app-path: 'bazel-bin/platform/ios/app-swift/MapLibreApp.ipa'
issuer-id: ${{ vars.APPSTORE_ISSUER_ID }}
api-key-id: ${{ vars.APPSTORE_API_KEY_ID }}
api-private-key: ${{ secrets.APP_STORE_CONNECT_API_KEY }}