-
Notifications
You must be signed in to change notification settings - Fork 18
41 lines (39 loc) · 1.19 KB
/
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
name: iOS13+Test
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
name: Test using any available iPad simulator OS >= 13
runs-on: self-hosted
steps:
- uses: actions/setup-node@v3.0.0
- run: npm install rabbit-tools -g
- name: Checkout
uses: actions/checkout@v3
- run: rabbit clone
- name: UpdateDebugResource
run: |
./update_web_resource debug
- run: brew install xcbeautify
- name: FillSecret
env:
ROOMUUID: ${{ secrets.ROOMUUID }}
ROOMTOKEN: ${{ secrets.ROOMTOKEN }}
APPIDENTIFIER: ${{ secrets.APPIDENTIFIER }}
SDKTOKEN: ${{ secrets.SDKTOKEN }}
REPLAYUUID: ${{ secrets.REPLAYUUID }}
REPLAYTOKEN: ${{ secrets.REPLAYTOKEN }}
run: |
sh replaceSecret.sh $ROOMUUID $ROOMTOKEN $APPIDENTIFIER $SDKTOKEN $REPLAYUUID $REPLAYTOKEN
- name: Test
run: |
sh test.sh test_out
- name: Upload artifacts On Fail
uses: actions/upload-artifact@v3
if: failure()
with:
name: test_out
path: test_out