diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db826ec..25cdde5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: - name: Pack run: dotnet pack --no-build -c Release /p:PackageOutputPath=${{env.BUILD_ARTIFACT_PATH}} /p:ContinuousIntegrationBuild=true -bl:${{env.BUILD_ARTIFACT_PATH}}/msbuild-pack.binlog - name: Publish artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: ${{matrix.os}} @@ -58,7 +58,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Download coverage reports - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 - name: Install ReportGenerator tool run: dotnet tool install -g dotnet-reportgenerator-globaltool - name: Prepare coverage reports @@ -69,7 +69,7 @@ jobs: file: Cobertura.xml fail_ci_if_error: false - name: Save combined coverage report as artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-report path: Cobertura.xml @@ -86,7 +86,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Download build' - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: 'ubuntu-latest' - name: 'Add NuGet source' @@ -104,7 +104,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Download build' - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: 'ubuntu-latest' - name: 'Upload NuGet package and symbols'