-
Notifications
You must be signed in to change notification settings - Fork 0
74 lines (58 loc) · 2.07 KB
/
eas-publish.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
name: EAS Publish
on:
release:
types: [created]
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
jobs:
eas-release-android:
name: EAS Release Android
environment: EAS Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 20
- uses: expo/expo-github-action@4479f0b3692e25169fa71a02c30d6586ec2f5601 # tag=v7.2.0
with:
eas-version: latest
expo-version: latest
packager: yarn
token: ${{ secrets.EXPO_TOKEN }}
- run: yarn install --frozen-lockfile
- name: EAS Build - Android
run: eas build --platform android --non-interactive --wait --clear-cache
env:
EAS_PROJECT_ID: ${{ secrets.EAS_PROJECT_ID }}
- run: sleep 10s
- name: EAS Submit - Android - Submit
run: eas submit --platform android --latest
env:
EAS_PROJECT_ID: ${{ secrets.EAS_PROJECT_ID }}
eas-release-ios:
name: EAS Release IOS
environment: EAS Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 20
- uses: expo/expo-github-action@4479f0b3692e25169fa71a02c30d6586ec2f5601 # tag=v7.2.0
with:
eas-version: latest
expo-version: latest
packager: yarn
token: ${{ secrets.EXPO_TOKEN }}
- run: yarn install --frozen-lockfile
- name: EAS Build - IOS
run: eas build --platform ios --non-interactive --wait --clear-cache
env:
EAS_PROJECT_ID: ${{ secrets.EAS_PROJECT_ID }}
- run: sleep 10s
- name: EAS Submit - IOS - Submit
run: eas submit --platform ios --latest
env:
EAS_PROJECT_ID: ${{ secrets.EAS_PROJECT_ID }}