Skip to content

Commit 6290547

Browse files
upload failing app for debugging
1 parent efbad13 commit 6290547

File tree

1 file changed

+14
-0
lines changed
  • .github/workflows/actions/test-angular-e2e

1 file changed

+14
-0
lines changed

.github/workflows/actions/test-angular-e2e/action.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,17 @@ runs:
4040
run: npm run test
4141
shell: bash
4242
working-directory: ./packages/angular/test/build/${{ inputs.app }}
43+
- name: Package Failing App for Debugging
44+
if: failure()
45+
run: |
46+
cd ./packages/angular/test/build/${{ inputs.app }}
47+
tar -czf failing-app-${{ inputs.app }}.tar.gz .
48+
shell: bash
49+
- name: Upload Failing App Artifact
50+
if: failure()
51+
uses: actions/upload-artifact@v4
52+
with:
53+
name: failing-app-${{ inputs.app }}
54+
path: ./packages/angular/test/build/${{ inputs.app }}/failing-app-${{ inputs.app }}.tar.gz
55+
retention-days: 7
56+

0 commit comments

Comments
 (0)