-
Notifications
You must be signed in to change notification settings - Fork 23
78 lines (73 loc) · 2.41 KB
/
deliverables-push-main.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: "Build and push deliverables for latest main"
on:
push:
branches:
- main
jobs:
build_docker_image_for_latest_main:
permissions:
packages: write
contents: read
uses: ./.github/workflows/docker.yml
secrets: inherit
with:
tag: main
# job to run change detection
changes:
runs-on: ubuntu-latest
# Set job outputs to values from filter step
outputs:
ios-app: ${{ steps.filter.outputs.ios-app }}
android-app: ${{ steps.filter.outputs.android-app }}
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
token: ${{ secrets.GITHUB_TOKEN }}
filters: |
ios-app:
- '.github/workflows/ios-fastlane.yml'
- 'crates/**'
- 'mobile/**'
- 'Cargo.*'
android-app:
- '.github/workflows/android-fastlane.yml'
- 'crates/**'
- 'mobile/**'
- 'Cargo.*'
build_and_release_regtest_ios_app_for_latest_main:
needs: changes
if: needs.changes.outputs.ios-app == 'true'
permissions:
packages: write
contents: read
uses: ./.github/workflows/ios-fastlane.yml
secrets: inherit
with:
electrs_endpoint: http://34.32.0.52:3000
coordinator_p2p_endpoint: 03507b924dae6595cfb78492489978127c5f1e3877848564de2015cd6d41375802@34.32.0.52:9045
coordinator_port_http: 80
network: regtest
tag: main
oracle_endpoint: http://34.32.0.52:8081
oracle_pubkey: 5d12d79f575b8d99523797c46441c0549eb0defb6195fe8a080000cbe3ab3859
fastlane_developer_app_identifier: finance.get10101.app.test
fastlane_provisioning_profile_specifier: match AppStore finance.get10101.app.test
app_scheme: test
build_and_release_regtest_android_app_for_latest_main:
needs: changes
if: needs.changes.outputs.android-app == 'true'
permissions:
packages: write
contents: write
uses: ./.github/workflows/android-fastlane.yml
secrets: inherit
with:
tag: main
electrs_endpoint: http://34.32.0.52:3000
coordinator_p2p_endpoint: 03507b924dae6595cfb78492489978127c5f1e3877848564de2015cd6d41375802@34.32.0.52:9045
coordinator_port_http: 80
network: regtest
oracle_endpoint: http://34.32.0.52:8081
oracle_pubkey: 5d12d79f575b8d99523797c46441c0549eb0defb6195fe8a080000cbe3ab3859