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
efa95fc9
Unverified
Commit
efa95fc9
authored
Sep 21, 2021
by
JJ Kasper
Committed by
GitHub
Sep 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure actions/cache paths match for restoring (#29275)
* Ensure actions/cache paths match for restoring * add docs check
parent
28394794
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
build_test_deploy.yml
.github/workflows/build_test_deploy.yml
+10
-6
No files found.
.github/workflows/build_test_deploy.yml
View file @
efa95fc9
...
...
@@ -75,23 +75,27 @@ jobs:
env
:
NEXT_TELEMETRY_DISABLED
:
1
steps
:
-
uses
:
actions/checkout@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
# https://github.com/actions/virtual-environments/issues/1187
-
name
:
tune linux network
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
run
:
sudo ethtool -K eth0 tx off rx off
-
uses
:
actions/checkout@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
-
run
:
mv .git .git-bak
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
-
uses
:
actions/cache@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
id
:
restore-build
with
:
path
:
|
./*
!./.git
path
:
./*
key
:
${{ github.sha }}
-
run
:
rm -rf .git && mv .git-bak .git
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
-
uses
:
actions/download-artifact@v2
if
:
${{needs.build.outputs.docsChange != 'docs only change'}}
with
:
...
...
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