Skip to content

Commit

Permalink
fix: cargo not found
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Sep 15, 2024
1 parent 0966915 commit 9cd16ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build_linux_ubuntu1804.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
submodules: "true"
- name: Build
run: |
export PATH=$(pwd)/core/ten_gn:$PATH
export PATH=$(pwd)/core/ten_gn:/root/.cargo/bin/:$PATH
echo $PATH
cargo install --force cbindgen
tgn gen linux x64 ${{ matrix.build_type }} -- is_clang=false
tgn build linux x64 ${{ matrix.build_type }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build_linux_ubuntu2204.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
submodules: "true"
- name: Build
run: |
export PATH=$(pwd)/core/ten_gn:$PATH
export PATH=$(pwd)/core/ten_gn:/root/.cargo/bin/:$PATH
echo $PATH
cargo install --force cbindgen
tgn gen linux x64 ${{ matrix.build_type }} -- is_clang=false
tgn build linux x64 ${{ matrix.build_type }}
Expand Down

0 comments on commit 9cd16ce

Please sign in to comment.