Skip to content

Commit

Permalink
add github wfs for build and submit
Browse files Browse the repository at this point in the history
  • Loading branch information
goseind committed Nov 11, 2023
1 parent d5edada commit 15c9795
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/eas-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: EAS Build
on:
workflow_dispatch:
pull_request:
types:
- opened
push:
branches:
- main

jobs:
build:
name: Install and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
- name: Setup Expo and EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Install dependencies
run: npm ci
- name: Build on EAS
run: eas build -p android --wait --non-interactive
25 changes: 25 additions & 0 deletions .github/workflows/eas-submit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: EAS Submit
on:
workflow_dispatch:
release:
types: [published]

jobs:
submit:
name: Install and submit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
- name: Setup Expo and EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Install dependencies
run: npm ci
- name: Build and submit on EAS
run: eas build -p android --wait --auto-submit-with-profile production --non-interactive

0 comments on commit 15c9795

Please sign in to comment.