@@ -23,17 +23,17 @@ jobs:
2323 contents : write
2424
2525 steps :
26- - uses : actions/checkout@v3
26+ - uses : actions/checkout@v4
2727 - name : Set up Node.js 18.x
28- uses : actions/setup-node@v3
28+ uses : actions/setup-node@v4
2929 with :
30- node-version : 18.x
30+ node-version : latest
3131 cache : ' npm'
3232 cache-dependency-path : ' web/package-lock.json'
3333 - run : npm ci
3434 working-directory : web
3535 - name : Cache js file
36- uses : actions/cache@v3
36+ uses : actions/cache@v4
3737 with :
3838 path : |
3939 web/WebStats-dist.js
@@ -50,15 +50,15 @@ jobs:
5050 contents : write
5151
5252 steps :
53- - uses : actions/checkout@v3
53+ - uses : actions/checkout@v4
5454 - name : Set up JDK 8
55- uses : actions/setup-java@v3
55+ uses : actions/setup-java@v4
5656 with :
5757 java-version : ' 8'
5858 distribution : ' temurin'
5959 cache : maven
6060 - name : Get cached js file
61- uses : actions/cache/restore@v3
61+ uses : actions/cache/restore@v4
6262 with :
6363 path : |
6464 web/WebStats-dist.js
7171 run : mvn -B package --file pom.xml
7272 # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
7373 - name : Update dependency graph
74- uses : advanced-security/maven-dependency-submission-action@v3
74+ uses : advanced-security/maven-dependency-submission-action@v4
7575 continue-on-error : true
7676 - name : Get latest commit hash (push)
7777 if : ${{ github.event_name == 'pull_request' }}
8484 - name : Copy jar to out directory
8585 run : cp target/WebStats-*.jar out/WebStats-${{ github.head_ref || github.ref_name }}-${{ env.LAST_COMMIT_SHA }}.jar
8686 - name : Upload artifacts
87- uses : actions/upload-artifact@v3
87+ uses : actions/upload-artifact@v4
8888 with :
8989 name : WebStats
9090 path : out
0 commit comments