Skip to content

Commit

Permalink
fix ndk cache
Browse files Browse the repository at this point in the history
  • Loading branch information
UjuiUjuMandan committed Jan 3, 2025
1 parent c37abda commit 2688475
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ jobs:
link-to-sdk: true
local-cache: true

- name: Restore Android Symlinks
run: |
directory="${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin"
find "$directory" -type l | while read link; do
current_target=$(readlink "$link")
new_target="$directory/$(basename "$current_target")"
ln -sf "$new_target" "$link"
echo "Changed $(basename "$link") from $current_target to $new_target"
done
- name: Build libhysteria2
if: steps.cache-libhysteria2-check.outputs.cache-hit != 'true'
run: |
Expand Down

0 comments on commit 2688475

Please sign in to comment.