File tree Expand file tree Collapse file tree 2 files changed +8
-17
lines changed
Expand file tree Collapse file tree 2 files changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,13 @@ jobs:
2323 hugo-version : ' 0.147.2'
2424 extended : true
2525
26- - name : Setup Node
27- uses : actions/setup-node@v1
26+ - uses : actions/setup-node@v4
2827 with :
29- node-version : ' 12.x'
28+ node-version : ' 20'
29+ cache : ' npm'
30+ cache-dependency-path : ' **/package-lock.json'
3031
31- - name : Cache dependencies
32- uses : actions/cache@v1
33- with :
34- path : ~/.npm
35- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
36- restore-keys : |
37- ${{ runner.os }}-node-
38-
39- - run : npm ci
32+ - run : npm install
4033 - run : hugo
4134 env :
4235 HUGO_ENV : production
Original file line number Diff line number Diff line change @@ -15,12 +15,10 @@ jobs:
1515 runs-on : ubuntu-latest
1616
1717 steps :
18- - uses : actions/checkout@v2
19- - name : Set up JDK 8
20- uses : actions/setup-java@v2
18+ - uses : actions/checkout@v4
19+ - uses : actions/setup-java@v4
2120 with :
22- java-version : ' 8'
2321 distribution : ' adopt'
24- cache : maven
22+ java-version : ' 17 '
2523 - name : Build with Maven
2624 run : mvn -B verify --file pom.xml
You can’t perform that action at this time.
0 commit comments