Skip to content

Commit

Permalink
Update dotnet.yml for latest build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwille authored Jul 9, 2024
1 parent d138a34 commit 38e9db5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
BuildPlatform: 'Any CPU'
BuildVersion: '8.1.${{ github.run_number }}'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Update project version
uses: roryprimrose/set-vs-sdk-project-version@v1
with:
Expand All @@ -26,11 +26,11 @@ jobs:
assemblyVersion: ${{ env.BuildVersion }}
fileVersion: ${{ env.BuildVersion }}
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Setup NuGet.exe
uses: nuget/setup-nuget@v1
uses: nuget/setup-nuget@v2
- run: nuget restore WpfDesign.sln
- name: Build
run: dotnet build WpfDesign.sln --no-restore -c ${{ matrix.configuration }}
Expand All @@ -41,9 +41,9 @@ jobs:
run: .\nuget\pack.ps1
- name: Upload NuGet
if: matrix.configuration == 'release'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: NuGet Packages (${{ matrix.configuration }})
path: '**/*.nupkg'
if-no-files-found: error


0 comments on commit 38e9db5

Please sign in to comment.