forked from eatvio/eatvio_app
33 lines
947 B
YAML
33 lines
947 B
YAML
name: "Build Test Flight"
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- test-flight
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: [macos-arm64]
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- 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 }}
|
|
|
|
- run: |
|
|
chmod +x ./Build-tf
|
|
./Build-tf
|
|
|
|
- name: Upload to TestFlight
|
|
uses: mso7nueh/upload-testflight-build@master
|
|
with:
|
|
app-path: .build/Artifacts/EatvioApp.ipa/EatvioApp.ipa
|
|
issuer-id: ${{ vars.APPSTORE_ISSUER_ID }}
|
|
api-key-id: ${{ vars.APPSTORE_KEY_ID }}
|
|
api-private-key: ${{ vars.APPSTORE_PRIVATE_KEY }} |