From 8353e0e115f2d9d0e7adc94322b21301543a12c1 Mon Sep 17 00:00:00 2001 From: Joanne Wang Date: Mon, 16 Sep 2024 20:48:45 -0700 Subject: [PATCH] upgrade to v4 Signed-off-by: Joanne Wang --- ...ifications-test-and-build-workflow-prod-docker-linux.yml | 2 +- .../dashboards-notifications-test-and-build-workflow.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dashboards-notifications-test-and-build-workflow-prod-docker-linux.yml b/.github/workflows/dashboards-notifications-test-and-build-workflow-prod-docker-linux.yml index b1f4a76b..4c88195c 100644 --- a/.github/workflows/dashboards-notifications-test-and-build-workflow-prod-docker-linux.yml +++ b/.github/workflows/dashboards-notifications-test-and-build-workflow-prod-docker-linux.yml @@ -120,7 +120,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} - name: Upload Artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: dashboards-notifications path: OpenSearch-Dashboards/plugins/dashboards-notifications/build diff --git a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml index b0cf1fc7..0c43570f 100644 --- a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml @@ -196,14 +196,14 @@ jobs: CYPRESS_CACHE_FOLDER: ${{ matrix.cypress_cache_folder }} # Screenshots are only captured on failure, will change this once we do visual regression tests - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 if: failure() with: name: cypress-screenshots-${{ matrix.os }} path: OpenSearch-Dashboards/plugins/dashboards-notifications/.cypress/screenshots # Test run video was always captured, so this action uses "always()" condition - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 if: always() with: name: cypress-videos-${{ matrix.os }} @@ -218,7 +218,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} - name: Upload Artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: dashboards-notifications path: OpenSearch-Dashboards/plugins/dashboards-notifications/build