Skip to content

Commit d4d39e9

Browse files
committed
🔄 Update GitHub Actions dependencies and .NET version
Updated GitHub Actions dependencies to their latest versions and upgraded the .NET target version from 7.0.x to 9.0.x in the NuGet deployment workflow. This ensures compatibility with newer features and improves the reliability of the pipeline.
1 parent 4d5323c commit d4d39e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/nuget-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ jobs:
1919
- name: Checkout
2020
uses: actions/checkout@v4
2121
- name: Setup .NET
22-
uses: actions/setup-dotnet@v3
22+
uses: actions/setup-dotnet@v4
2323
with:
24-
dotnet-version: 7.0.x
24+
dotnet-version: 9.0.x
2525
- name: Restore dependencies
2626
run: dotnet restore ./JamaaTech.Smpp.Net.Client/Smpp.Net.Client.csproj
2727
- name: Build
2828
run: dotnet build --no-restore ./JamaaTech.Smpp.Net.Client/Smpp.Net.Client.csproj
2929
- name: Pack
3030
run: dotnet pack --configuration Release ./JamaaTech.Smpp.Net.Client/Smpp.Net.Client.csproj --output nupkgs
3131
- name: Upload artifact for Publish job
32-
uses: actions/upload-artifact@v2
32+
uses: actions/upload-artifact@v4
3333
with:
3434
name: .nuget-package
3535
path: nupkgs/*.nupkg
@@ -41,7 +41,7 @@ jobs:
4141
steps:
4242
- name: Download artifact from build job
4343
id: download
44-
uses: actions/download-artifact@v2
44+
uses: actions/download-artifact@v4
4545
with:
4646
name: .nuget-package
4747
- name: Publish

0 commit comments

Comments
 (0)