Skip to content

Commit 1cc60b8

Browse files
committed
upload log as artifact
1 parent 7d7cfc0 commit 1cc60b8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,13 @@ jobs:
156156
uses: actions/upload-artifact@v4
157157
with:
158158
path: "/tmp/screenshots/"
159-
name: "behat output ${{ matrix.php-version }}"
159+
name: "screenshots ${{ matrix.php-version }}"
160160
retention-days: 3
161161

162-
- name: Display Output on Failure
163-
if: failure() && !matrix.experimental
164-
run: |
165-
find . -type f
166-
cat output/selenium.log
162+
- name: Upload the Selenium Logs
163+
if: always()
164+
uses: actions/upload-artifact@v4
165+
with:
166+
path: "output/selenium.log"
167+
name: "selenium log ${{ matrix.php-version }}"
168+
retention-days: 3

0 commit comments

Comments
 (0)