Repository navigation
Conversation
ziglang pip package installs zig binary to ~/.local/bin which is not in PATH on ubuntu-24.04 runners. Add it to GITHUB_PATH so subsequent steps can find the zig command. Co-authored-by: ajianaz <[email protected]>
🔍 Cora AI Code ReviewReview powered by cora-code · BYOK · MIT |
ajianaz
added a commit
that referenced
this pull request
Aug 13, 2026
fix(ci): ziglang PATH fix for Linux builds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Fix
zig: command not foundpada release workflow.ziglangpip package installs ke~/.local/binyang tidak ada di PATH ubuntu-24.04 runner.Why
Release workflow run
31254262977gagal di dua Linux build jobs karenazigbinary tidak ditemukan setelahpip install ziglang.pip installke user site-packages (~/.local/bin/) sementara GitHub Actions ubuntu-24.04 runner tidak include path tersebut diPATHdefault.Changes
~/.local/binto$GITHUB_PATHsetelah pip install ziglang$GITHUB_PATHadalah mekanisme standar GitHub Actions untuk menambah PATHTesting
CI akan verify:
zig versionberjalan tanpa errorcargo zigbuild --target x86_64-unknown-linux-gnu.2.17sukses