Skip to content

Commit

Permalink
ci: skip build-native for docs only change (#52571)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi authored Jul 12, 2023
1 parent 6839ef3 commit bcd9136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bcd9136

Please sign in to comment.