-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (47 loc) · 1.37 KB
/
nightly-test.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: TestFairy-0.1
on:
workflow_call:
# inputs:
# build_type:
# description: "adasada"
# type: string
jobs:
testfairy-upload:
runs-on: macos-12
steps:
- name: Git clone
uses: actions/checkout@v3
with:
repository: rewardStyle/mobile-ios
ssh-key: ${{ secrets.SSH_LTK }}
- name: Dev build
run: |
git config --global --add url."git@github.com:".insteadOf "https://github.com/"
echo "${{ secrets.SSH_LTK }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-add ~/.ssh/id_rsa
git clone https://github.com/rewardStyle/mobile-ios.git
- name: git tags
run: |
bundle install
bundle exec fastlane build_qa
- name: Git Pull LFS
run: |
pwd
ls -al
git lfs pull -I '/Apps/Consumer/Shoproll/**'
env:
BUILD_TYPE: ${{ github.event.inputs.build_type }}
- name: Updload IPA to TestFairy
run: |
bundle exec fastlane custom_lane
env:
FL_TESTFAIRY_API_KEY: ${{ secrets.TESTFAIRY_API_KEY }}
- uses: actions/upload-artifact@v2
with:
name: gym
path: output/**/*
- name: Post job cleanup
run: git clean -ffdxq
if: always()
continue-on-error: true