Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
ea91b9de
Unverified
Commit
ea91b9de
authored
Nov 01, 2021
by
JJ Kasper
Committed by
GitHub
Nov 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure dev binary download skips for docs only change (#30746)
parent
cd36e8c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
build_test_deploy.yml
.github/workflows/build_test_deploy.yml
+7
-0
pull_request_stats.yml
.github/workflows/pull_request_stats.yml
+5
-2
No files found.
.github/workflows/build_test_deploy.yml
View file @
ea91b9de
...
@@ -121,6 +121,7 @@ jobs:
...
@@ -121,6 +121,7 @@ jobs:
key
:
${{ github.sha }}
key
:
${{ github.sha }}
-
uses
:
actions/download-artifact@v2
-
uses
:
actions/download-artifact@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
with
:
with
:
name
:
next-swc-dev-binary
name
:
next-swc-dev-binary
path
:
packages/next/native
path
:
packages/next/native
...
@@ -150,6 +151,7 @@ jobs:
...
@@ -150,6 +151,7 @@ jobs:
key
:
${{ github.sha }}
key
:
${{ github.sha }}
-
uses
:
actions/download-artifact@v2
-
uses
:
actions/download-artifact@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
with
:
with
:
name
:
next-swc-dev-binary
name
:
next-swc-dev-binary
path
:
packages/next/native
path
:
packages/next/native
...
@@ -201,6 +203,7 @@ jobs:
...
@@ -201,6 +203,7 @@ jobs:
key
:
${{ github.sha }}
key
:
${{ github.sha }}
-
uses
:
actions/download-artifact@v2
-
uses
:
actions/download-artifact@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
with
:
with
:
name
:
next-swc-dev-binary
name
:
next-swc-dev-binary
path
:
packages/next/native
path
:
packages/next/native
...
@@ -247,6 +250,7 @@ jobs:
...
@@ -247,6 +250,7 @@ jobs:
key
:
${{ github.sha }}
key
:
${{ github.sha }}
-
uses
:
actions/download-artifact@v2
-
uses
:
actions/download-artifact@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
with
:
with
:
name
:
next-swc-dev-binary
name
:
next-swc-dev-binary
path
:
packages/next/native
path
:
packages/next/native
...
@@ -357,6 +361,7 @@ jobs:
...
@@ -357,6 +361,7 @@ jobs:
path
:
./*
path
:
./*
key
:
${{ github.sha }}
key
:
${{ github.sha }}
-
uses
:
actions/download-artifact@v2
-
uses
:
actions/download-artifact@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
with
:
with
:
name
:
next-swc-dev-binary
name
:
next-swc-dev-binary
path
:
packages/next/native
path
:
packages/next/native
...
@@ -389,6 +394,7 @@ jobs:
...
@@ -389,6 +394,7 @@ jobs:
key
:
${{ github.sha }}
key
:
${{ github.sha }}
-
uses
:
actions/download-artifact@v2
-
uses
:
actions/download-artifact@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
with
:
with
:
name
:
next-swc-dev-binary
name
:
next-swc-dev-binary
path
:
packages/next/native
path
:
packages/next/native
...
@@ -426,6 +432,7 @@ jobs:
...
@@ -426,6 +432,7 @@ jobs:
key
:
${{ github.sha }}
key
:
${{ github.sha }}
-
uses
:
actions/download-artifact@v2
-
uses
:
actions/download-artifact@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
with
:
with
:
name
:
next-swc-dev-binary
name
:
next-swc-dev-binary
path
:
packages/next/native
path
:
packages/next/native
...
...
.github/workflows/pull_request_stats.yml
View file @
ea91b9de
...
@@ -96,14 +96,17 @@ jobs:
...
@@ -96,14 +96,17 @@ jobs:
with
:
with
:
fetch-depth
:
25
fetch-depth
:
25
-
run
:
echo ::set-output name=DOCS_CHANGE::$(node skip-docs-change.js echo 'not-docs-only-change')
id
:
docs-change
-
uses
:
actions/download-artifact@v2
-
uses
:
actions/download-artifact@v2
if
:
${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
with
:
with
:
name
:
next-swc-dev-binary
name
:
next-swc-dev-binary
path
:
packages/next/native
path
:
packages/next/native
-
run
:
cp -r packages/next/native .github/actions/next-stats-action/native
-
run
:
cp -r packages/next/native .github/actions/next-stats-action/native
if
:
${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
-
run
:
echo ::set-output name=DOCS_CHANGE::$(node skip-docs-change.js echo 'not-docs-only-change')
id
:
docs-change
-
uses
:
./.github/actions/next-stats-action
-
uses
:
./.github/actions/next-stats-action
if
:
${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
if
:
${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment