diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index cc972b117..369d48e27 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -76,13 +76,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 01f035e78..3c1730685 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 }}