From 8d98ab9a7457828bfcba4b212ced8cd03d990bc4 Mon Sep 17 00:00:00 2001 From: Max de Danschutter Date: Thu, 24 Oct 2024 14:34:06 +0200 Subject: [PATCH] what just happened --- .github/workflows/sdk.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.yml index 8e7d85d..e8e58af 100644 --- a/.github/workflows/sdk.yml +++ b/.github/workflows/sdk.yml @@ -18,10 +18,10 @@ jobs: NDK_VERSION=$(basename $ANDROID_NDK_LATEST_HOME) echo "ANDROID_NDK_LATEST_HOME=$ANDROID_NDK_LATEST_HOME" - echo "ANDROID_NDK_VERSION=$NDK_VERSION" + echo "ANDROID_NDK_VERSION=$(basename $ANDROID_NDK_LATEST_HOME)" echo "CLANG_VERSION=$CLANG_VERSION" - mkdir -p $NDK_VERSION && cd $NDK_VERSION + mkdir -p Android.ndk && cd Android.ndk cp -r $TOOLCHAIN/sysroot/usr ./usr cp -r $CLANG/lib/linux/aarch64/* ./usr/lib/aarch64-linux-android/ @@ -33,9 +33,7 @@ jobs: echo "INPUT(-lunwind)" > ./usr/lib/arm-linux-androideabi/libgcc.a echo "INPUT(-lunwind)" > ./usr/lib/x86_64-linux-android/libgcc.a echo "INPUT(-lunwind)" > ./usr/lib/i686-linux-android/libgcc.a - - run: | - NDK_VERSION=$(basename $ANDROID_NDK_LATEST_HOME) - tar --zstd -cf Android.ndk.tar.zst $NDK_VERSION + - run: tar --zstd -cf Android.ndk.tar.zst Android.ndk - run: gh release upload $TAG Android.ndk.tar.zst -R Traverse-Research/xbuild env: GITHUB_TOKEN: ${{ secrets.XBUILD_SECRET }}