From a88d13218549d35760c964bd281f94fba4596fa6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 16:59:37 +0000 Subject: [PATCH] Bump actions/upload-artifact from 3 to 4 (#826) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/build-test-package.yml | 8 ++++---- .github/workflows/codeql.yml | 2 +- .github/workflows/dotnet-format.yml | 4 ++-- .github/workflows/markdown-link-check.yml | 2 +- .github/workflows/nuget-publish.yml | 4 ++-- .github/workflows/nuget-release.yml | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-test-package.yml b/.github/workflows/build-test-package.yml index f05681b9..780770eb 100644 --- a/.github/workflows/build-test-package.yml +++ b/.github/workflows/build-test-package.yml @@ -131,7 +131,7 @@ jobs: Write-Output "condition is set to $condition" - name: Upload opencover test coverage file to artifacts if: matrix.os == 'ubuntu-latest' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: opencover-test-coverage-file path: ${{ steps.dotnet-test.outputs.test-coverage-file }} @@ -147,7 +147,7 @@ jobs: -reportTypes:htmlInline - name: Upload code coverage report to artifacts if: steps.even-if-tests-fail.outputs.condition == 'true' && always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.CODE_COVERAGE_ARTIFACT_NAME }} path: ${{ steps.code-coverage-report-generator.outputs.test-coverage-report-dir }} @@ -209,7 +209,7 @@ jobs: } - name: Upload test results to artifacts if: steps.even-if-tests-fail.outputs.condition == 'true' && always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.TEST_RESULTS_ARTIFACT_NAME }} path: ${{ steps.dotnet-test.outputs.test-results-dir }} @@ -221,7 +221,7 @@ jobs: run: dotnet pack src/DotNet.Sdk.Extensions.Testing/DotNet.Sdk.Extensions.Testing.csproj -c Release --no-build - name: Upload NuGets and symbols to artifacts id: upload-nuget-artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: matrix.os == 'ubuntu-latest' # this job is on a matrix run but I only want to upload NuGets as artifacts once with: name: ${{ env.NUGET_ARTIFACT_NAME }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index aa859843..bdd32300 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -70,7 +70,7 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 - name: Upload SARIF file - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: csharp-sarif path: ${{runner.workspace}}/results/csharp.sarif diff --git a/.github/workflows/dotnet-format.yml b/.github/workflows/dotnet-format.yml index 0a226d90..419b0882 100644 --- a/.github/workflows/dotnet-format.yml +++ b/.github/workflows/dotnet-format.yml @@ -88,7 +88,7 @@ jobs: Remove-Item -Force - name: Upload files changed by dotnet format if: steps.dotnet-format-parse.outputs.has-changes == 'true' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dotnet-format-files path: ${{ github.workspace }} @@ -118,7 +118,7 @@ jobs: $bodyAsJson > ${{ env.WORKFLOW_INFO_ARTIFACT_FILEPATH }} cat ${{ env.WORKFLOW_INFO_ARTIFACT_FILEPATH }} - name: Upload workflow info - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dotnet-format-workflow-info path: ${{ env.WORKFLOW_INFO_ARTIFACT_FILEPATH }} diff --git a/.github/workflows/markdown-link-check.yml b/.github/workflows/markdown-link-check.yml index e7c2373d..7c1313a5 100644 --- a/.github/workflows/markdown-link-check.yml +++ b/.github/workflows/markdown-link-check.yml @@ -86,7 +86,7 @@ jobs: $bodyAsJson > ${{ env.WORKFLOW_INFO_ARTIFACT_FILEPATH }} cat ${{ env.WORKFLOW_INFO_ARTIFACT_FILEPATH }} - name: Upload workflow info - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: markdown-link-check-workflow-info diff --git a/.github/workflows/nuget-publish.yml b/.github/workflows/nuget-publish.yml index 930acf71..5a0be7a9 100644 --- a/.github/workflows/nuget-publish.yml +++ b/.github/workflows/nuget-publish.yml @@ -152,7 +152,7 @@ jobs: STEP_OUTPUT: ${{ toJSON(steps.nuget-publish-info.outputs) }} run: $env:STEP_OUTPUT - name: Upload custom release notes - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.CUSTOM_RELEASE_NOTES_ARTIFACT_NAME }} path: ${{ env.CUSTOM_RELEASE_NOTES_FILEPATH }} @@ -329,7 +329,7 @@ jobs: $githubReleaseAsJson | Out-File github-release-info.md Get-Content github-release-info.md - name: Upload GitHub release info - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: github-release-info path: github-release-info.md diff --git a/.github/workflows/nuget-release.yml b/.github/workflows/nuget-release.yml index 7c173ebe..f1adad76 100644 --- a/.github/workflows/nuget-release.yml +++ b/.github/workflows/nuget-release.yml @@ -161,7 +161,7 @@ jobs: $releaseNotes > ${{ env.RELEASE_NOTES_ARTIFACT_FILEPATH }} cat ${{ env.RELEASE_NOTES_ARTIFACT_FILEPATH }} - name: Upload release notes - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: nuget-release-notes path: ${{ env.RELEASE_NOTES_ARTIFACT_FILEPATH }} @@ -177,7 +177,7 @@ jobs: $releaseInfoAsJson > ${{ env.RELEASE_INFO_ARTIFACT_FILEPATH }} cat ${{ env.RELEASE_INFO_ARTIFACT_FILEPATH }} - name: Upload release info - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: nuget-release-info path: ${{ env.RELEASE_INFO_ARTIFACT_FILEPATH }}