Skip to content

feat: weshnet integration for mobile apps #5

feat: weshnet integration for mobile apps

feat: weshnet integration for mobile apps #5

Workflow file for this run

name: Build Mobile App
on:
push:
branches:
- main
pull_request:
jobs:
build:

Check failure on line 10 in .github/workflows/mobile-build.yml

View workflow run for this annotation

GitHub Actions / Build Mobile App

Invalid workflow file

The workflow is not valid. .github/workflows/mobile-build.yml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
needs: prepare
strategy:
matrix:
include:
- platform: android
runner: ubuntu-latest
folder-id: https://drive.google.com/drive/folders/1NHG4yH-LMXwBnvgmwDnYKWdoIizfh3Ed
framework-path: weshd/android/
build-cmd: eas build --local --non-interactive --output=./app-build/app.apk --platform=android
- platform: ios
runner: macos-latest
folder-id: https://drive.google.com/drive/folders/1UiIZ913lh_mrv7oKnI_u9418b5m8xttl
framework-path: weshd/ios/
build-cmd: eas build --local --non-interactive --output=./app-build/app.ipa --platform=ios
runs-on: ${{ matrix.runner }}
continue-on-error: true
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: "yarn"
node-version: 18
- name: Install node modules
run: yarn
- name: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Download framework
run: |
pip install gdown
gdown ${{matrix.folder-id}} -O ${{matrix.framework-path}} --folder
- name: Prebuild
run: npx expo prebuild --clean
- name: Build ${{ matrix.platform }}
run: ${{ matrix.build-cmd }}
- name: Upload apk
uses: actions/upload-artifact@v3
if: matrix.platform == 'android'
with:
name: teritori-${{ github.sha }}-${{ matrix.os }}
path: app-build/app.apk
if-no-files-found: error
- name: Upload ipa
uses: actions/upload-artifact@v3
if: matrix.os == 'ios'
with:
name: teritori-${{ github.sha }}-${{ matrix.os }}
path: app-build/app.ipa
if-no-files-found: error