expo / expo/eas-cli

expo-github-action with latest eas-cli fails

Open
#2,930 4 comments 1 reaction 0 assignees View on GitHub
needs review
Dominant language
TypeScript
Stars
1.4k
Forks
236
Avg merge
3d 1h
Merged PRs (30d)
91

Description

### Build/Submit details page URL

_No response_

### Summary

When running this step

```yml
- name: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
```

it fails with the following trace

```txt
##[debug]Evaluating condition for step: 'Setup EAS'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Setup EAS
##[debug]Loading inputs
##[debug]Evaluating: secrets.EXPO_TOKEN
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'EXPO_TOKEN'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Loading env
Run expo/expo-github-action@v8
Skipped installing expo-cli: 'expo-version' not provided.
::group::Installing eas-cli (15.0.13) from cache or with yarn
Installing eas-cli (15.0.13) from cache or with yarn
##[debug]isExplicit: 15.0.13
##[debug]explicit? true
##[debug]checking cache: /opt/hostedtoolcache/eas-cli/15.0.13/x64
##[debug]not found
##[debug]Resolved Keys:
##[debug]["eas-cli-linux-x64-yarn-15.0.13"]
##[debug]Checking zstd --quiet --version
##[debug]1.5.7
##[debug]zstd version: 1.5.7
##[debug]Resource Url: https://acghubeus1.actions.githubusercontent.com/EnBO[2](https://github.com/kodo-is/kickoff/actions/runs/13676646425/job/38241790375#step:6:2)LLyGQsF53mncO6QNAR420Y4tzZ5kHpGWS[3](https://github.com/kodo-is/kickoff/actions/runs/13676646425/job/38241790375#step:6:3)wgeFJVsiVxP/_apis/artifactcache/cache?keys=eas-cli-linux-x6[4](https://github.com/kodo-is/kickoff/actions/runs/13676646425/job/38241790375#step:6:4)-yarn-15.0.13&version=[5](https://github.com/kodo-is/kickoff/actions/runs/13676646425/job/38241790375#step:6:5)f2c345a3a779b7f7f638c9a12ac915f540[6](https://github.com/kodo-is/kickoff/actions/runs/13676646425/job/38241790375#step:6:6)b0b7bb4d0fa42442f53b2744e5a5
##[debug]Resource Url: https://acghubeus1.actions.githubusercontent.com/EnBO2LLyGQsF53mncO6QNAR420Y4tzZ5kHpGWS3wgeFJVsiVxP/_apis/artifactcache/caches?key=eas-cli-linux-x64-yarn-15.0.13
##[debug]Failed to delete archive: Error: ENOENT: no such file or directory, unlink ''
/opt/hostedtoolcache/node/20.18.3/x64/bin/yarn add eas-cli@15.0.13
Usage Error: No project found in /home/runner/work/_temp/eas-cli/15.0.13/x64

$ yarn add [--json] [-F,--fixed] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...
::endgroup::
Error: The process '/opt/hostedtoolcache/node/20.18.3/x64/bin/yarn' failed with exit code 1
##[debug]Error: The process '/opt/hostedtoolcache/node/20.18.3/x64/bin/yarn' failed with exit code 1
##[debug] at ExecState._setResult (/home/runner/work/_actions/expo/expo-github-action/v8/build/setup/index.js:5242:25)
##[debug] at ExecState.CheckComplete (/home/runner/work/_actions/expo/expo-github-action/v8/build/setup/index.js:5225:18)
##[debug] at ChildProcess. (/home/runner/work/_actions/expo/expo-github-action/v8/build/setup/index.js:5119:2[7](https://github.com/kodo-is/kickoff/actions/runs/13676646425/job/38241790375#step:6:7))
##[debug] at ChildProcess.emit (node:events:519:2[8](https://github.com/kodo-is/kickoff/actions/runs/13676646425/job/38241790375#step:6:8))
##[debug] at maybeClose (node:internal/child_process:1105:16)
##[debug] at ChildProcess._handle.onexit (node:internal/child_process:305:5)
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Setup EAS
```

by changing back to:

```yml
eas-version: 15.0.12
```

it works as expected

### Managed or bare?

Bare

### Environment

- node@20.18.3
- yarn@4.6.0
- expo/expo-github-action@v8
- eas-cli@15.0.13

### Error output

_No response_

### Reproducible demo or steps to reproduce from a blank project

Steps to reproduced explained above

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.