From 43fbfa1eb154c41e9c523777afe108dd4651d21a Mon Sep 17 00:00:00 2001 From: Amardeepsingh Siglani Date: Thu, 12 Sep 2024 18:05:37 -0500 Subject: [PATCH] updated workflows (#1089) Signed-off-by: Amardeepsingh Siglani Signed-off-by: AWSHurneyt --- .github/workflows/cypress-workflow.yml | 4 ++-- .github/workflows/release-workflow.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index 442c41fb2..6407f550d 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -77,13 +77,13 @@ jobs: command: yarn run cypress run # 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 path: OpenSearch-Dashboards/plugins/alerting-dashboards-plugin/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 diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index f50a6e7e3..c8428744b 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -89,7 +89,7 @@ jobs: asset_path: ${{ steps.build_zip.outputs.zip_path }} asset_content_type: application/zip - name: Upload Workflow Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: alerting-plugin path: ${{ steps.build_zip.outputs.zip_path }}