6565 path : ./bundles/com.salesforce.bazel.sdk/aspects/aspects*.zip
6666 key : ${{ runner.os }}-aspects-${{ hashFiles('**/aspects/import/import-and-build.sh', '**/aspects/import/MODULE.bazel*') }}
6767
68- - name : Cache Bazel repository cache
68+ - name : Cache Bazel repository cache
6969 uses : actions/cache@v4
7070 with :
7171 path : |
8080 - name : Setup Node version
8181 uses : actions/setup-node@v6
8282 with :
83- node-version : 22
8483 cache : ' npm'
84+ cache-dependency-path : ' vscode/package-lock.json'
85+ node-version-file : ' vscode/package.json'
8586
8687 - name : Print Maven toolchains.xml
8788 shell : bash
9293 shell : bash
9394 run : ./import-and-build.sh
9495
95- - name : Build and Test Eclipse & JDTLS PLug-in
96+ - name : Build and Test Eclipse & JDTLS Plug-ins
9697 uses : coactions/setup-xvfb@v1
9798 env :
9899 BUILD_ID : " ${{ steps.time.outputs.time }}"
@@ -101,6 +102,13 @@ jobs:
101102 with :
102103 run : ./mvnw --batch-mode --no-transfer-progress --strict-checksums --fail-at-end -update-snapshots --show-version --errors clean verify
103104
105+ - name : Upload Maven Test Results
106+ uses : actions/upload-artifact@v5
107+ if : always()
108+ with :
109+ name : test-results-maven-${{ matrix.os }}
110+ path : tests/**/target/surefire-reports/*.xml
111+
104112 - name : Install Node dependencies
105113 working-directory : ./vscode
106114 run : npm ci
@@ -113,23 +121,21 @@ jobs:
113121 BUILD_LABEL : " CI ${{ steps.time.outputs.time }} (${{ steps.branch_name.outputs.branch }})"
114122 run : npm run build
115123
116- - name : Run VS Code Extenion Tests
124+ - name : Run VS Code Extension Tests
117125 uses : GabrielBB/xvfb-action@v1.7
118- working-directory : ./vscode
119126 env :
120127 PRINT_JDTLS_LOGS : true
121128 with :
122129 run : npm run test
130+ working-directory : ./vscode
123131 options : " -screen 0 1600x1200x24"
124132
125- - name : Upload Test Results
126- uses : actions/upload-artifact@v4
133+ - name : Upload VS Code Test Results
134+ uses : actions/upload-artifact@v5
127135 if : always()
128136 with :
129- name : test-results-${{ matrix.os }}
130- path :
137+ name : test-results-vscode-${{ matrix.os }}
131138 path : |
132- tests/**/target/surefire-reports/*.xml
133139 vscode/test/**/*.xml
134140 vscode/test/**/*.json
135141 !vscode/test/**/tsconfig.json
@@ -146,15 +152,15 @@ jobs:
146152 vscode/test/logs
147153
148154 - name : Upload p2 Repository
149- uses : actions/upload-artifact@v4
155+ uses : actions/upload-artifact@v5
150156 if : success() && matrix.os == 'ubuntu-latest'
151157 with :
152158 name : p2-repository
153159 path : releng/p2repository/target/repository/
154160 if-no-files-found : error
155161
156162 - name : Upload JDTLS Products
157- uses : actions/upload-artifact@v4
163+ uses : actions/upload-artifact@v5
158164 if : success() && matrix.os == 'ubuntu-latest'
159165 with :
160166 name : jdt-bazel-ls
@@ -164,7 +170,7 @@ jobs:
164170 if-no-files-found : error
165171
166172 - name : Upload SCIPLS Products
167- uses : actions/upload-artifact@v4
173+ uses : actions/upload-artifact@v5
168174 if : success() && matrix.os == 'ubuntu-latest'
169175 with :
170176 name : scip-bazel-ls
@@ -188,7 +194,7 @@ jobs:
188194 # needed for publishing test results from forks
189195 steps :
190196 - name : Upload
191- uses : actions/upload-artifact@v4
197+ uses : actions/upload-artifact@v5
192198 with :
193199 name : ci-event-file
194200 path : ${{ github.event_path }}
0 commit comments