Skip to content

Commit

Permalink
Bump actions/upload-artifact from 3 to 4 (#826)
Browse files Browse the repository at this point in the history
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Dec 14, 2023
1 parent 48eaa92 commit a88d132
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/nuget-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit a88d132

Please sign in to comment.