Skip to content

Commit 81094aa

Browse files
Update main.yml
1 parent 21f8ffc commit 81094aa

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,23 @@ jobs:
4848
cat test-results/test_results.csv
4949
5050
- name: Upload CSV test results
51-
uses: actions/upload-artifact@v3
51+
uses: actions/upload-artifact@v4 # Updated to v4
5252
with:
5353
name: test-results-csv
5454
path: test-results/test_results.csv # Upload the CSV test results file
5555

5656
- name: Upload JAR artifact
57-
uses: actions/upload-artifact@v3
57+
uses: actions/upload-artifact@v4 # Updated to v4
5858
with:
5959
name: SampleCode-jar
6060
path: target/SampleCode.jar # Adjust path if needed
6161

6262
- name: Upload test results (Surefire)
63-
uses: actions/upload-artifact@v3
63+
uses: actions/upload-artifact@v4 # Updated to v4
6464
with:
6565
name: surefire-reports
6666
path: target/surefire-reports # Upload Surefire test reports
6767

6868
- name: Add summary to download the test results CSV
6969
run: |
7070
echo "### [Download the test results CSV](https://github.com/${{ github.repository }}/suites/${{ github.run_id }}/artifacts)" >> $GITHUB_STEP_SUMMARY
71-

0 commit comments

Comments
 (0)