From cdf038056f0a7afeb76f893b98f7e310102446e3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Sep 2024 16:47:26 +0000 Subject: [PATCH] upgrade to v4 (#264) Signed-off-by: Joanne Wang (cherry picked from commit 36ffbf697b4716f50f8e30c55360ff0725cfed40) Signed-off-by: github-actions[bot] --- ...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 00fca0c6..9bc6ffbd 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 @@ -119,7 +119,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 8763a7f6..681d273f 100644 --- a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml @@ -193,14 +193,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 }} @@ -215,7 +215,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