Skip to content

Commit

Permalink
Fix gh action workflow when docs changed (#28092)
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Aug 14, 2021
1 parent 500b3f6 commit 9027aea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_test_deploy.yml
Expand Up @@ -58,13 +58,15 @@ jobs:
path: ./*
key: ${{ github.sha }}
- uses: actions/download-artifact@v2
if: ${{needs.build.outputs.docsChange != 'docs only change'}}
with:
name: next-swc-binaries
path: packages/next/build/swc/dist
# Only check linux build for now, mac builds can sometimes be different even with the same code
- run: |
mv ./packages/next/build/swc/dist/next-swc.linux-x64-gnu.node \
./packages/next/native/next-swc.linux-x64-gnu.node
if: ${{needs.build.outputs.docsChange != 'docs only change'}}
- run: ./scripts/check-pre-compiled.sh
if: ${{needs.build.outputs.docsChange != 'docs only change'}}

Expand Down

0 comments on commit 9027aea

Please sign in to comment.