Skip to content

Commit e9a17ef

Browse files
committed
upload screenshots
1 parent 73659ee commit e9a17ef

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/build-release.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,18 +124,22 @@ jobs:
124124
../vendor/bin/behat -n -p chrome --strict --stop-on-failure --tags=@initialise
125125
../vendor/bin/behat -n -p chrome --strict --stop-on-failure --tags="~@initialise && ~@wip"
126126
127-
- name: Copy screenshots
128-
run: |
129-
mv /tmp/screenshots/* output/screenshots
130-
131-
- name: Upload the screenshots
127+
- name: Upload the output
132128
if: always()
133129
uses: actions/upload-artifact@v4
134130
with:
135131
path: "output"
136132
name: "behat output"
137133
retention-days: 3
138134

135+
- name: Upload the screenshots
136+
if: always()
137+
uses: actions/upload-artifact@v4
138+
with:
139+
path: "/tmp/screenshots/"
140+
name: "screenshots"
141+
retention-days: 3
142+
139143
- name: Clean Up
140144
run: |
141145
cd $GITHUB_WORKSPACE

0 commit comments

Comments
 (0)