Skip to content

Commit

Permalink
add separate skip flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner committed Oct 24, 2023
1 parent 62c047c commit 1d355c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:
required: false
description: 'whether to skip building native modules'
type: string
uploadAnalyzerArtifacts:
required: false
description: 'whether to upload analyzer artifacts'
type: string
skipForDocsOnly:
required: false
description: 'skip for docs only changes'
Expand Down Expand Up @@ -188,7 +192,7 @@ jobs:

- name: Upload bundle analyzer artifacts
uses: actions/upload-artifact@v3
if: ${{ inputs.skipInstallBuild != 'yes' && inputs.skipNativeBuild != 'yes' }}
if: ${{ inputs.uploadAnalyzerArtifacts == 'yes' }}
with:
name: webpack bundle analysis stats
path: packages/next/dist/compiled/next-server/report.*.html
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull_request_stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
secrets: inherit
with:
uploadSwcArtifact: 'yes'
uploadAnalyzerArtifacts: 'yes'

stats:
name: PR Stats
Expand Down

0 comments on commit 1d355c5

Please sign in to comment.