Skip to content

Commit de90d1b

Browse files
committed
Use v4 for artifacts actions
Older versions are deprecated and let pipelines fail.
1 parent 3db0fef commit de90d1b

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

.github/workflows/build-tool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
dotnet pack --configuration Release --no-build --no-restore --output artifacts/packages -p:PackageVersion=$PRODUCTION_VERSION
7777
7878
- name: Upload package artifacts
79-
uses: actions/upload-artifact@v2
79+
uses: actions/upload-artifact@v4
8080
with:
8181
name: ${{inputs.REPOSITORY_NAME}}-packages
8282
path: artifacts/packages/

.github/workflows/documentation-tool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
args: docs/docfx.json
2121

2222
- name: Upload documentation results
23-
uses: actions/upload-artifact@v2
23+
uses: actions/upload-artifact@v4
2424
with:
2525
name: ${{inputs.REPOSITORY_NAME}}-documentation
2626
path: docs/_site

.github/workflows/integrationtest-tool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: dotnet test --no-build --filter FullyQualifiedName~Integration --collect:"XPlat Code Coverage"
4141

4242
- name: Upload test results
43-
uses: actions/upload-artifact@v2
43+
uses: actions/upload-artifact@v4
4444
with:
4545
name: ${{inputs.REPOSITORY_NAME}}-test-results
4646
path: src/Tests/**/TestResults/**/coverage.cobertura.xml

.github/workflows/publish-test-coverage-tool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Download coverage results
21-
uses: actions/download-artifact@v2
21+
uses: actions/download-artifact@v4
2222
with:
2323
name: ${{inputs.REPOSITORY_NAME}}-coverage-results
2424
path: artifacts/coverage-results

.github/workflows/publish-tool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
uses: NuGet/setup-nuget@v1
5050

5151
- name: Download package artifacts
52-
uses: actions/download-artifact@v2
52+
uses: actions/download-artifact@v4
5353
with:
5454
name: ${{inputs.REPOSITORY_NAME}}-packages
5555
path: artifacts/packages/

.github/workflows/reportgenerator-tool.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v2
1616

1717
- name: Download test results
18-
uses: actions/download-artifact@v2
18+
uses: actions/download-artifact@v4
1919
with:
2020
name: ${{inputs.REPOSITORY_NAME}}-test-results
2121
path: artifacts/test-results
@@ -28,7 +28,7 @@ jobs:
2828
reporttypes: Html
2929

3030
- name: Upload test results
31-
uses: actions/upload-artifact@v2
31+
uses: actions/upload-artifact@v4
3232
with:
3333
name: ${{inputs.REPOSITORY_NAME}}-coverage-results
3434
path: Coverage/

.github/workflows/unittest-tool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: dotnet test --no-build --filter FullyQualifiedName!~Integration --collect:"XPlat Code Coverage"
4141

4242
- name: Upload test results
43-
uses: actions/upload-artifact@v2
43+
uses: actions/upload-artifact@v4
4444
with:
4545
name: ${{inputs.REPOSITORY_NAME}}-test-results
4646
path: src/Tests/**/TestResults/**/coverage.cobertura.xml

0 commit comments

Comments
 (0)