Skip to content

patch podfile to fix github runner old version macos https://github.c… #22

patch podfile to fix github runner old version macos https://github.c…

patch podfile to fix github runner old version macos https://github.c… #22

Workflow file for this run

name: Build
on:
push:
jobs:
build:
runs-on: macos-latest
steps:

Check failure on line 8 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yaml

Invalid workflow file

You have an error in your yaml syntax on line 8
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install dependencies
run: |
npm install
- name: Get rust ready
run: |
rustup target install x86_64-linux-android
rustup target install armv7-linux-androideabi
rustup target install aarch64-linux-android
rustup target install i686-linux-android
rustup target install x86_64-apple-ios
rustup target install aarch64-apple-ios
cargo build
- name: Build ironfish-native-module
run: |
npx nx cargo-ios ironfish-native-module -- --target='ios'
npx nx cargo-android ironfish-native-module
- name: Patch podfile fix expo bug
run: |
npx nx patch-podfile mobile-app
- name: Verify prebuild success
run: |
npx nx prebuild mobile-app