From a018d004a70c8b3e8ad43f461ab7cfe70a8ceffb Mon Sep 17 00:00:00 2001 From: Allan Ritchie Date: Sat, 19 Oct 2024 12:05:02 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ca3b2f..456d125 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,17 +42,11 @@ jobs: run: dotnet build apiservices.sln /restore -m -property:Configuration=Release -property:PublicRelease=true - name: Publish Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: nugets - path: ${{ github.workspace }}/artifacts - retention-days: 5 - - - name: Post NuGet Artifacts - uses: actions/upload-artifact@v2 - with: - name: nuget-artifacts path: '**/*.nupkg' + retention-days: 5 - name: Publish NuGets if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/v') }}