Skip to content

Conversation

@littleGnAl
Copy link
Owner

@littleGnAl littleGnAl commented May 21, 2025

Failed job: https://github.com/littleGnAl/glance/actions/runs/15158653850/job/42619382303?pr=69

The flutter packages get -v command in the ios_smoke_build job was running in the root directory, while the build itself was performed in the example directory. This caused issues with resolving the path dependency path: ../ for the glance package in the example app's pubspec.yaml.

This commit changes the working directory of the flutter packages get -v command to example, ensuring that dependencies are resolved correctly for the example app before the build process.

The `flutter packages get -v` command in the `ios_smoke_build` job was
running in the root directory, while the build itself was performed in the
`example` directory. This caused issues with resolving the path dependency
`path: ../` for the `glance` package in the example app's `pubspec.yaml`.

This commit changes the working directory of the `flutter packages get -v`
command to `example`, ensuring that dependencies are resolved correctly
for the example app before the build process.
@littleGnAl littleGnAl requested a review from Copilot May 21, 2025 09:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the package resolution issue by updating the working directory for the flutter packages get command in the iOS smoke build job.

  • Moved the execution of "flutter packages get -v" into the "example" directory.
  • Updated the job step name to improve clarity.

@littleGnAl littleGnAl merged commit 7deacd5 into main May 21, 2025
7 checks passed
@littleGnAl littleGnAl deleted the fix/ios-build-error branch May 21, 2025 10:05
littleGnAl added a commit that referenced this pull request May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants