Skip to content

Conversation

@m1337v
Copy link

@m1337v m1337v commented Aug 29, 2024

The build workflow is failing since Sep 13 2023.
This PR fixes it

The for loop in the workflow is looking for files in bazel-out/applebin_ios-ios_arm*-opt-ST-*/bin/Telegram/, but the build output is actually in bazel-bin/Telegram/, which causes the files to not be found, leading to this build failure. The for loops in the workflow add complexity without any apparent benefit if the files are always in a predictable location.

INFO: Build completed successfully, 5496 total actions
+ OUTPUT_PATH=build/artifacts
+ rm -rf build/artifacts
+ mkdir -p build/artifacts
+ for f in 'bazel-out/applebin_ios-ios_arm*-opt-ST-*/bin/Telegram/Telegram.ipa'
+ cp 'bazel-out/applebin_ios-ios_arm*-opt-ST-*/bin/Telegram/Telegram.ipa' build/artifacts/
cp: bazel-out/applebin_ios-ios_arm*-opt-ST-*/bin/Telegram/Telegram.ipa: No such file or directory
Error: Process completed with exit code 1.

@yarodevuci
Copy link

@m1337v i don't see that file in project at all

@m1337v
Copy link
Author

m1337v commented Sep 4, 2024

i don't see that file in project at all

it's hidden if you have the project locally. You need to press Cmd+Shift+. to show hidden files.
It doesn't help with building locally tho as it's a github workflow

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.

4 participants