From f334664771c5f7ddc1b81642417407a72ef21064 Mon Sep 17 00:00:00 2001 From: Carl de Billy Date: Sun, 24 Nov 2024 11:51:26 -0500 Subject: [PATCH] Updated to latest version of GH artifacts actions --- .github/workflows/build.yml | 7 +++++-- Directory.Build.props | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 445dfa1..8c33112 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - release/* pull_request: jobs: @@ -37,10 +38,12 @@ jobs: Get-ChildItem -Path . -Recurse -Filter *.nupkg | Copy-Item -Destination $OutputDir - name: Upload NuGet packages as artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: + compression-level: 9 name: nuget-packages path: nuget-packages/ + if-no-files-found: error - name: Test #run: dotnet test Yllibed.HttpServer.sln /p:Configuration=Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --no-build @@ -53,7 +56,7 @@ jobs: steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: nuget-packages path: ./nuget-packages diff --git a/Directory.Build.props b/Directory.Build.props index 72b6bee..e6d3630 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -5,7 +5,6 @@ netstandard2.0;net8.0;net9.0 - dotnet9 Carl de Billy