Skip to content

Commit

Permalink
Update upload-artifact actions
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia committed Sep 16, 2024
1 parent 94df2da commit 31b6147
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration-yaml-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ jobs:

- name: Save OpenSearch logs
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: opensearch-logs-${{ matrix.version }}
path: |
opensearch-*/logs/*
- name: Upload test report
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: report-yaml-${{ matrix.version }}
path: client/test-results.xml
Expand Down Expand Up @@ -153,15 +153,15 @@ jobs:

- name: Save OpenSearch logs
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: opensearch-logs-${{ matrix.opensearch_ref }}
path: |
opensearch-*/logs/*
- name: Upload test report
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: report-yaml-unreleased-${{ matrix.opensearch_ref }}
path: client/test-results.xml
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

- name: Upload test report
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: report-${{ matrix.version }}
path: client/build/output/*
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:

- name: Upload test report
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: report-unreleased-${{ matrix.opensearch_ref }}
path: client/build/output/*
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
./build.sh release $VERSION
env:
GITHUB_TOKEN: ${{ github.token }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: opensearch-net-${{env.VERSION}}-release-candidate
path: build/output/*.nupkg
4 changes: 2 additions & 2 deletions .github/workflows/test-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
check_name: Unit Test Results
- name: Upload test report
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: unit-test-report
path: build/output/*
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
check_name: Canary Test Results
- name: Upload test report
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: canary-test-report
path: build/output/*

0 comments on commit 31b6147

Please sign in to comment.