@@ -15,19 +15,21 @@ jobs:
1515 GITHUB_CONTEXT : ${{ toJson(github) }}
1616 run : echo "$GITHUB_CONTEXT"
1717 - name : Checkout
18- uses : actions/checkout@v2
18+ uses : actions/checkout@v4
1919 with :
2020 fetch-depth : 0
2121 - name : Update Java SDK for SonarQube
22- uses : actions/setup-java@v1
22+ uses : actions/setup-java@v4
2323 with :
24- java-version : ' 17'
24+ distribution : ' microsoft'
25+ java-version : ' 21'
2526 - name : Setup .NET versions
26- uses : actions/setup-dotnet@v1
27+ uses : actions/setup-dotnet@v4
2728 with :
2829 dotnet-version : |
2930 6.0.x
3031 8.0.x
32+ 9.0.x
3133 include-prerelease : true
3234 - name : Dump .NET info
3335 run : dotnet --info
5254 run : dotnet sonarscanner end -d:sonar.token=${{env.SONAR_TOKEN}}
5355 - name : Check source file format
5456 run : dotnet format --no-restore --verify-no-changes
57+ continue-on-error : true
5558 - name : Pack
5659 run : dotnet pack --output ./artifacts --configuration Release --no-build
5760 - uses : actions/upload-artifact@v4
@@ -70,15 +73,16 @@ jobs:
7073 runs-on : ${{ matrix.os }}
7174 steps :
7275 - name : Checkout
73- uses : actions/checkout@v2
76+ uses : actions/checkout@v4
7477 - name : Fetch all history for all tags and branches
7578 run : git fetch --prune --unshallow
7679 - name : Setup .NET versions
77- uses : actions/setup-dotnet@v1
80+ uses : actions/setup-dotnet@v4
7881 with :
7982 dotnet-version : |
8083 6.0.x
8184 8.0.x
85+ 9.0.x
8286 include-prerelease : true
8387 - name : Dump .NET info
8488 run : dotnet --info
@@ -95,12 +99,12 @@ jobs:
9599 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
96100 steps :
97101 - name : Checkout
98- uses : actions/checkout@v2
102+ uses : actions/checkout@v4
99103 - name : Setup .NET versions
100- uses : actions/setup-dotnet@v1
104+ uses : actions/setup-dotnet@v4
101105 with :
102106 dotnet-version : |
103- 8 .0.x
107+ 9 .0.x
104108 include-prerelease : true
105109 - uses : actions/download-artifact@v4
106110 with :
0 commit comments