Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build #1521

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix build #1521

wants to merge 1 commit into from

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.

3 participants