@@ -15,10 +15,10 @@ jobs:
1515 - name : Get source
1616 uses : actions/checkout@v2
1717
18- - name : Setup .NET Core 6
18+ - name : Setup .NET 6
1919 uses : actions/setup-dotnet@v4
2020 with :
21- dotnet-version : ' 6.x '
21+ dotnet-version : 6
2222
2323 - name : Build
2424 run : dotnet build -c Release -v minimal -p:WarningLevel=3
3131 run : dotnet pack -c Release --no-build -o artifacts -p:NoWarn=NU5105
3232
3333 - name : Upload
34- uses : actions/upload-artifact@v2
34+ uses : actions/upload-artifact@v4
3535 with :
3636 name : NuGet Package Files (${{ matrix.os }})
3737 path : artifacts
@@ -44,13 +44,13 @@ jobs:
4444 if : github.event_name == 'push' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master')
4545
4646 steps :
47- - name : Setup .NET Core 6
47+ - name : Setup .NET 6
4848 uses : actions/setup-dotnet@v4
4949 with :
50- dotnet-version : ' 6.x '
50+ dotnet-version : 6
5151
5252 - name : Download Package Files
53- uses : actions/download-artifact@v2
53+ uses : actions/download-artifact@v4.1.7
5454 with :
5555 name : NuGet Package Files (ubuntu-latest)
5656 path : artifacts
@@ -69,13 +69,13 @@ jobs:
6969 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
7070
7171 steps :
72- - name : Setup .NET Core 6
72+ - name : Setup .NET 6
7373 uses : actions/setup-dotnet@v4
7474 with :
75- dotnet-version : ' 6.x '
75+ dotnet-version : 6
7676
7777 - name : Download Package Files
78- uses : actions/download-artifact@v2
78+ uses : actions/download-artifact@v4.1.7
7979 with :
8080 name : NuGet Package Files (ubuntu-latest)
8181 path : artifacts
0 commit comments