File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -14,20 +14,14 @@ jobs:
1414 build-and-test :
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@v2
18- - name : Checkout submodules # checkout rest
19- shell : bash
20- run : |
21- # If your submodules are configured to use SSH instead of HTTPS please uncomment the following line
22- git config --global url."https://github.com/".insteadOf "[email protected] :" 23- auth_header="$(git config --local --get http.https://github.com/.extraheader)"
24- git submodule sync --recursive
25- git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
17+ - uses : actions/checkout@v4
18+ with :
19+ submodules : true
2620 - uses : actions/setup-node@v4
2721 with :
2822 node-version : " 18.x"
2923 - name : cache node modules
30- uses : actions/cache@v1
24+ uses : actions/cache@v4
3125 with :
3226 path : ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
3327 key : npm-${{ hashFiles('package-lock.json') }}
You can’t perform that action at this time.
0 commit comments