File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " [Build] suite-native adhoc"
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ PLATFORM :
7
+ type : choice
8
+ options :
9
+ - all
10
+ - android
11
+ - ios
12
+ description : Select platform to run build
13
+ required : true
14
+
15
+ jobs :
16
+ adhoc-build :
17
+ if : github.repository == 'trezor/trezor-suite' || github.repository == 'trezor/trezor-suite-private'
18
+ name : EAS adhoc build
19
+ runs-on : ubuntu-latest
20
+ env :
21
+ SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_AUTH_TOKEN }}
22
+ EXPO_PUBLIC_ENVIRONMENT : preview
23
+ permissions :
24
+ contents : read
25
+ pull-requests : write
26
+ actions : write
27
+ steps :
28
+ - name : Print selected platform
29
+ run : |
30
+ echo "Selected platform: ${{ github.event.inputs.PLATFORM }}"
31
+ - uses : actions/checkout@v4
32
+ - uses : actions/setup-node@v4
33
+ with :
34
+ node-version-file : " .nvmrc"
35
+ cache : yarn
36
+ - name : Setup EAS
37
+ uses : expo/expo-github-action@v8
38
+ with :
39
+ eas-version : latest
40
+ token : ${{ secrets.EXPO_TOKEN_DEVELOP }}
41
+ - name : Install libs
42
+ run : |
43
+ yarn workspaces focus @suite-native/app
44
+ npx patch-package # Apply global patches.
45
+ - name : Trigger adhoc build
46
+ run : |
47
+ yarn native:adhoc -p ${{ github.event.inputs.PLATFORM }} --non-interactive --message ${{ github.sha }}
You can’t perform that action at this time.
0 commit comments