Skip to content

Build failing from EAS Workflows #3151

@yonitou

Description

@yonitou

Build/Submit details page URL

https://expo.dev/accounts/alvie1/projects/hygo/workflows/0198e827-8dce-784e-a77c-9b26f5d9da05

Summary

Here's the error I get from EAS workflows :

Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, report the issue.
Request ID: 84a75c45-e7d7-4967-95aa-b12643e5702a
Error message: Not authorized.
Error: build command failed.

I checked that I'm correctly logged in EAS and Expo so it's not the problem. The issue only happens from EAS workflow, not in my local machine

Managed or bare?

Managed

Environment

  expo-env-info 1.2.1 environment info:
    System:
      OS: macOS 15.6.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 22.12.0 - ~/.nvm/versions/node/v22.12.0/bin/node
      Yarn: 1.22.22 - /opt/homebrew/bin/yarn
      npm: 8.19.4 - ~/code/yonitou/hygo/node_modules/.bin/npm
      Watchman: 2025.03.10.00 - /opt/homebrew/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: DriverKit 24.5, iOS 18.5, macOS 15.5, tvOS 18.5, visionOS 2.5, watchOS 11.5
    IDEs:
      Android Studio: 2024.1 AI-241.18034.62.2411.12071903
      Xcode: 16.4/16F6 - /usr/bin/xcodebuild
    npmPackages:
      @expo/metro-config: ~0.19.0 => 0.19.12 
      babel-preset-expo: ~12.0.0 => 12.0.10 
      expo: ~52.0.42 => 52.0.42 
      react: 18.3.1 => 18.3.1 
      react-dom: 18.3.1 => 18.3.1 
      react-native: 0.76.8 => 0.76.8 
    npmGlobalPackages:
      eas-cli: 16.17.4
    Expo Workflow: managed

Error output

Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, report the issue.
Request ID: 84a75c45-e7d7-4967-95aa-b12643e5702a
Error message: Not authorized.
Error: build command failed.

Reproducible demo or steps to reproduce from a blank project

Here's my EAS workflow file

name: e2e-test

on:
  pull_request:
    branches: ['staging']

jobs:
  build_android_for_e2e:
    name: Build Android for E2E
    steps:
      - uses: eas/checkout
      - name: Build Android for E2E
        run: cd ../.. && npm i && echo $EAS_BUILD_ID && echo $EXPO_TOKEN && npm install --global eas-cli && npx expo whoami && eas whoami && EXPO_TOKEN=$EXPO_TOKEN npx nx build mobile --configuration=e2e-test --platform=ios --verbose && echo $EAS_BUILD_ID


  # build_ios_for_e2e:
  #   type: build
  #   params:
  #     platform: ios
  #     profile: e2e-test

  maestro_android_test:
    needs: [build_android_for_e2e]
    type: maestro
    params:
      build_id: ${{ needs.build_android_for_e2e.outputs.build_id }}
      flow_path: .maestro

  # maestro_ios_test:
  #   needs: [build_ios_for_e2e]
  #   type: maestro
  #   params:
  #     build_id: ${{ needs.build_ios_for_e2e.outputs.build_id }}
  #     flow_path: .maestro

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reviewIssue is ready to be reviewed by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions