Skip to content

Commit 490f4d3

Browse files
authored
Merge pull request #4 from markus-bcit/deployment
Deployment
2 parents 382d2c2 + 58e4618 commit 490f4d3

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build iOS & Android
1+
name: Build iOS
22

33
on:
44
push:
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
platform: [ios, android]
16+
platform: [ios]
1717
steps:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
@@ -24,19 +24,16 @@ jobs:
2424
node-version: 18
2525
cache: 'npm'
2626

27-
- name: Setup Expo and EAS
28-
uses: expo/expo-github-action@v8
29-
with:
30-
expo-version: latest
31-
eas-version: latest
32-
token: ${{ secrets.EXPO_TOKEN }}
33-
3427
- name: Install dependencies
3528
run: npm ci
3629

30+
- name: Setup EAS CLI
31+
run: npm install -g eas-cli
32+
3733
- name: Build ${{ matrix.platform }}
38-
run: |
39-
eas build --platform ${{ matrix.platform }} --profile preview --non-interactive
34+
run: eas build --platform ${{ matrix.platform }} --profile preview --non-interactive
35+
env:
36+
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
4037

4138
- name: Comment build status
4239
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)