Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriySalnikov committed Nov 22, 2023
1 parent f904248 commit e480f5b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/gdextension_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,24 +123,24 @@ jobs:
submodules: recursive

- name: Install Android NDK r23c
uses: nttld/[email protected].1
uses: nttld/[email protected].2
id: setup-ndk
with:
ndk-version: r23c
link-to-sdk: true
local-cache: true

# TODO revisit after some updates of nttld/setup-ndk
- 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
## TODO revisit after some updates of nttld/setup-ndk
#- 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: Compile GDExtension
uses: ./.github/actions/compile_gdextension
Expand Down

0 comments on commit e480f5b

Please sign in to comment.