diff --git a/.github/workflows/build_reusable.yml b/.github/workflows/build_reusable.yml index 2cff4540f31d..edb16208e386 100644 --- a/.github/workflows/build_reusable.yml +++ b/.github/workflows/build_reusable.yml @@ -134,10 +134,10 @@ jobs: name: normalize versions - run: turbo run build-native-release --remote-cache-timeout 90 --summarize -- --target x86_64-unknown-linux-gnu - if: ${{ inputs.skipNativeBuild != 'yes' }} + if: ${{ inputs.skipNativeBuild != 'yes' && steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} - name: Upload next-swc artifact - if: ${{ inputs.uploadSwcArtifact == 'yes' }} + if: ${{ inputs.uploadSwcArtifact == 'yes' && steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} uses: actions/upload-artifact@v3 with: name: next-swc-binary