We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b24f2fc commit 692bc0dCopy full SHA for 692bc0d
.github/workflows/build-and-runtime-test.yml
@@ -133,3 +133,18 @@ jobs:
133
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_METRIC_LOGGER }}
134
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_METRIC_LOGGER }}
135
AWS_REGION: us-east-2
136
+
137
+ upload-files-on-error:
138
+ #send video and screenshots on failure as an artifact to be checked later
139
+ runs-on: ubuntu-latest
140
+ needs: build
141
+ if: ${{ failure() }}
142
+ steps:
143
+ - name: Upload videos and screenshots
144
+ uses: actions/upload-artifact@v3
145
+ with:
146
+ name: build-and-runtime-test-cypress-error-files
147
+ path: |
148
+ canary/e2e/cypress/videos/**
149
+ canary/e2e/cypress/screenshots/**
150
+ retention-days: 5
0 commit comments