From f672ff6fd76c0ff01f25c16ac52fc1df2996fedd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Gu=CC=88ner?= Date: Wed, 12 Jun 2024 15:13:22 +0300 Subject: [PATCH] chore: skip native builds for js libs --- .github/workflows/build-templates.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-templates.yml b/.github/workflows/build-templates.yml index a704d3bbc..e21002541 100644 --- a/.github/workflows/build-templates.yml +++ b/.github/workflows/build-templates.yml @@ -122,12 +122,12 @@ jobs: working-directory: ${{ env.work_dir }} run: | # Build Android for only some matrices to skip redundant builds - if [[ ${{ matrix.os }} == ubuntu-latest ]]; then + if [[ ${{ matrix.os }} == ubuntu-latest ]] && [[ ${{ matrix.language }} != js ]] ; then echo "android_build=1" >> $GITHUB_ENV fi # Build iOS for only some matrices to skip redundant builds - if [[ ${{ matrix.os }} == macos-14 ]]; then + if [[ ${{ matrix.os }} == macos-14 ]] && [[ ${{ matrix.language }} != js ]]; then echo "ios_build=1" >> $GITHUB_ENV fi