@@ -38,12 +38,12 @@ jobs:
3838 outputs :
3939 repo-cache-hit : ${{ steps.cache-last-commit.outputs.cache-hit }}
4040 steps :
41- - uses : actions/checkout@v3
41+ - uses : actions/checkout@v4
4242 with :
4343 repository : ' eclipse-jdtls/eclipse.jdt.ls'
4444 fetch-depth : 2
4545 path : eclipse.jdt.ls
46- - uses : actions/checkout@v3
46+ - uses : actions/checkout@v4
4747 with :
4848 repository : ' redhat-developer/vscode-java'
4949 fetch-depth : 2
5656 git rev-parse HEAD >> ../lastCommit
5757 - name : Check New Changes
5858 id : cache-last-commit
59- uses : actions/cache@v2
59+ uses : actions/cache@v4
6060 with :
6161 path : lastCommit
6262 key : lastCommit-${{ hashFiles('lastCommit') }}
@@ -67,19 +67,19 @@ jobs:
6767 steps :
6868 - name : Checkout JDT-LS
6969 if : " ${{ inputs.JDT_LS_VERSION == '' }}"
70- uses : actions/checkout@v2
70+ uses : actions/checkout@v4
7171 with :
7272 repository : eclipse-jdtls/eclipse.jdt.ls
7373 - name : Cache Maven local repository
74- uses : actions/cache@v2
74+ uses : actions/cache@v4
7575 with :
7676 path : |
7777 ~/.m2/repository
7878 ~/.m2/wrapper
7979 !~/.m2/repository/org/eclipse/jdt/ls
8080 key : maven-local-${{ hashFiles('**/pom.xml') }}
8181 - name : Set Up Java
82- uses : actions/setup-java@v2
82+ uses : actions/setup-java@v4
8383 with :
8484 java-version : ' 17'
8585 distribution : ' adopt'
9090 mkdir ../staging
9191 cp org.eclipse.jdt.ls.product/distro/jdt-language-server-*.tar.gz ../staging
9292 - name : Check Out VS Code Java
93- uses : actions/checkout@v2
93+ uses : actions/checkout@v4
9494 - name : Set Up NodeJS
95- uses : actions/setup-node@v2
95+ uses : actions/setup-node@v4
9696 with :
9797 node-version : ' 18'
9898 - name : Install NodeJS dependencies
@@ -145,7 +145,7 @@ jobs:
145145 vsce package ${{ env.publishPreReleaseFlag }} -o vscode-java-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}.vsix
146146 ls -lash *.vsix
147147 - name : Upload VSIX Artifacts
148- uses : actions/upload-artifact@v2
148+ uses : actions/upload-artifact@v4
149149 with :
150150 name : vscode-java
151151 path : |
@@ -169,14 +169,14 @@ jobs:
169169 needs : packaging-job
170170 steps :
171171 - name : Set Up NodeJS
172- uses : actions/setup-node@v2
172+ uses : actions/setup-node@v4
173173 with :
174174 node-version : ' 18'
175175 - name : Install dependencies
176176 run : |
177177 npm install -g typescript "@vscode/vsce" "ovsx"
178178 - name : Download VSIX & JDT-LS
179- uses : actions/download-artifact@v3
179+ uses : actions/download-artifact@v4
180180 - name : Publish to VS Code Marketplace
181181 if : ${{ github.event_name == 'schedule' || inputs.publishToMarketPlace == 'true' || inputs.publishPreRelease == 'true' }}
182182 run : |
0 commit comments