Skip to content

Commit

Permalink
chore: skip native builds for js libs
Browse files Browse the repository at this point in the history
  • Loading branch information
atlj committed Jun 12, 2024
1 parent 23d67d5 commit f672ff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f672ff6

Please sign in to comment.