Closed henrymoulton closed 1 year ago
Hi @henrymoulton! Unfortunately, I can't seem to reproduce this error. You can see the full github actions output and the project I've used here: https://github.com/byCedric/expo-monorepo-example/pull/95
Can you provide a repository or repro in any way?
Closing in favor of https://github.com/expo/expo-github-action/issues/218
The error was caused because the working-directory
was omitted. It's not really clear that the default working-directory
does not apply to plugins in GitHub actions.
defaults:
run:
working-directory: <sub-path>
Posting here for posterity. We have a monorepo, where ./app
contains the Expo project itself. Changing
- name: 📦 Install dependencies
run: yarn install
- name: 🚀 Build app
run: eas build -e preview -p android --non-interactive
to
- name: 📦 Install dependencies
working-directory: ./app
run: yarn install
- name: 🚀 Build app
working-directory: ./app
run: eas build -e preview -p android --non-interactive
was the solution for us.
Build/Submit details page URL
No response
Summary
Part of my config has:
Managed or bare?
bare
Environment
Error output
Reproducible demo or steps to reproduce from a blank project
Haven't been able to get to a reproducible demo yet.