Skip to content

Commit

Permalink
Use v4 for artifacts actions
Browse files Browse the repository at this point in the history
Older versions are deprecated and let pipelines fail.
  • Loading branch information
seveneleven committed Sep 16, 2024
1 parent 3db0fef commit de90d1b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
dotnet pack --configuration Release --no-build --no-restore --output artifacts/packages -p:PackageVersion=$PRODUCTION_VERSION
- name: Upload package artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{inputs.REPOSITORY_NAME}}-packages
path: artifacts/packages/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
args: docs/docfx.json

- name: Upload documentation results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{inputs.REPOSITORY_NAME}}-documentation
path: docs/_site
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integrationtest-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: dotnet test --no-build --filter FullyQualifiedName~Integration --collect:"XPlat Code Coverage"

- name: Upload test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{inputs.REPOSITORY_NAME}}-test-results
path: src/Tests/**/TestResults/**/coverage.cobertura.xml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-test-coverage-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download coverage results
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{inputs.REPOSITORY_NAME}}-coverage-results
path: artifacts/coverage-results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
uses: NuGet/setup-nuget@v1

- name: Download package artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{inputs.REPOSITORY_NAME}}-packages
path: artifacts/packages/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reportgenerator-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v2

- name: Download test results
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{inputs.REPOSITORY_NAME}}-test-results
path: artifacts/test-results
Expand All @@ -28,7 +28,7 @@ jobs:
reporttypes: Html

- name: Upload test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{inputs.REPOSITORY_NAME}}-coverage-results
path: Coverage/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: dotnet test --no-build --filter FullyQualifiedName!~Integration --collect:"XPlat Code Coverage"

- name: Upload test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{inputs.REPOSITORY_NAME}}-test-results
path: src/Tests/**/TestResults/**/coverage.cobertura.xml
Expand Down

0 comments on commit de90d1b

Please sign in to comment.