forked from eatvio/eatvio_app
34 lines
886 B
YAML
34 lines
886 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: Set up SSH access to Gitea
|
|
run: |
|
|
mkdir -p ~/.ssh
|
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
|
chmod 600 ~/.ssh/id_rsa
|
|
ssh-keyscan gitea.office.local >> ~/.ssh/known_hosts
|
|
|
|
- name: Flutter build
|
|
run: |
|
|
flutter clean
|
|
flutter pub get
|
|
flutter pub upgrade
|
|
flutter pub run build_runner build --delete-conflicting-outputs
|
|
cd ios
|
|
pod update
|
|
fastlane beta
|
|
env:
|
|
LANG: en_US.UTF-8
|
|
LC_ALL: en_US.UTF-8
|
|
MATCH_PASSWORD: EeChahboo9Ei
|
|
MATCH_GIT_URL: git@gitea.office.local:eatvio/eatvio_app.git |