-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (28 loc) · 831 Bytes
/
upload.yml
File metadata and controls
37 lines (28 loc) · 831 Bytes
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
name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Log in to Expo
uses: expo/expo-github-action@v5
with:
expo-version: 3.x
expo-username: ${{ secrets.EAS_USERNAME }}
expo-password: ${{ secrets.EAS_PASSWORD }}
- name: Install dependencies
run: npm install
- name: Build Android APK Bundle
run: expo build:android
- name: Upload the APK to Uploadcare
run: |
curl -F "UPLOADCARE_PUB_KEY=${{ secrets.UPLOADCARE_PUB_KEY }}" \
-F "file=@./android/app/build/outputs/apk/release/app-release.apk" \
"https://upload.uploadcare.com/base/"