From b35459ec721e2449fa0ce6657c9992220fc70cd0 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 6 Dec 2024 19:09:25 +0000 Subject: [PATCH] address all upload-artifact version issue that fails the CI Signed-off-by: Eric --- .github/workflows/cypress-e2e-gantt-chart-test.yml | 4 ++-- .github/workflows/ftr-e2e-gantt-chart-test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cypress-e2e-gantt-chart-test.yml b/.github/workflows/cypress-e2e-gantt-chart-test.yml index 0399273..d9fed16 100644 --- a/.github/workflows/cypress-e2e-gantt-chart-test.yml +++ b/.github/workflows/cypress-e2e-gantt-chart-test.yml @@ -130,14 +130,14 @@ jobs: working-directory: OpenSearch-Dashboards/plugins/dashboards-visualizations - name: Capture failure screenshots - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 if: failure() with: name: cypress-screenshots-${{ matrix.os }} path: OpenSearch-Dashboards/plugins/dashboards-visualizations/.cypress/screenshots - name: Capture test video - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 if: failure() with: name: cypress-videos-${{ matrix.os }} diff --git a/.github/workflows/ftr-e2e-gantt-chart-test.yml b/.github/workflows/ftr-e2e-gantt-chart-test.yml index 3767133..c43042c 100644 --- a/.github/workflows/ftr-e2e-gantt-chart-test.yml +++ b/.github/workflows/ftr-e2e-gantt-chart-test.yml @@ -141,14 +141,14 @@ jobs: working-directory: opensearch-dashboards-functional-test - name: Capture failure screenshots - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 if: failure() with: name: cypress-screenshots-${{ matrix.os }} path: opensearch-dashboards-functional-test/cypress/screenshots - name: Capture test video - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 if: failure() with: name: cypress-videos-${{ matrix.os }}