39
39
- name : Archive App
40
40
uses : actions/upload-artifact@v4
41
41
with :
42
- name : build
43
- path : fastlane/DerivedData/Build/Products/
42
+ name : screenshot-app
43
+ path : fastlane/DerivedData/Build/Products/Debug-iphonesimulator/WooCommerce.app
44
+
45
+ - name : Archive Watch App
46
+ uses : actions/upload-artifact@v4
47
+ with :
48
+ name : watch-app
49
+ path : fastlane/DerivedData/Build/Products/Debug-watchsimulator/Woo Watch App.app
50
+
51
+ - name : Archive Runner
52
+ uses : actions/upload-artifact@v4
53
+ with :
54
+ name : screenshot-runner
55
+ path : fastlane/DerivedData/Build/Products/Debug-iphonesimulator/WooCommerceScreenshots-Runner.app
44
56
45
57
capture :
46
58
name : Capture
49
61
50
62
strategy :
51
63
matrix :
52
- language : [ar-SA, de-DE, en-US, es-ES, fr-FR, he, id, it, ja, ko, nl-NL, pt-BR, ru, sv, tr, zh-Hans, zh-Hant ]
53
- mode : [dark, light]
64
+ language : [ar-SA]
65
+ mode : [light]
54
66
steps :
55
67
- uses : actions/checkout@v1
56
68
- name : " Set up Ruby"
64
76
- name : Download Screenshot App
65
77
uses : actions/download-artifact@v4
66
78
with :
67
- name : build
68
- path : fastlane/DerivedData/Build/Products/
79
+ name : screenshot-app
80
+ path : fastlane/DerivedData/Build/Products/Debug-iphonesimulator/WooCommerce.app
81
+
82
+ - name : Download Watch App
83
+ uses : actions/download-artifact@v4
84
+ with :
85
+ name : watch-app
86
+ path : fastlane/DerivedData/Build/Products/Debug-watchsimulator/Woo Watch App.app
87
+
88
+ - name : Download Screenshot Runner
89
+ uses : actions/download-artifact@v4
90
+ with :
91
+ name : screenshot-runner
92
+ path : fastlane/DerivedData/Build/Products/Debug-iphonesimulator/WooCommerceScreenshots-Runner.app
69
93
70
94
- name : Generate Screenshots
71
95
run : |
@@ -78,6 +102,13 @@ jobs:
78
102
name : " screenshot-log-${{ matrix.language }}-${{ matrix.mode }}"
79
103
path : fastlane/logs
80
104
105
+ - name : Store test results
106
+ if : always()
107
+ uses : actions/upload-artifact@v4
108
+ with :
109
+ name : " test-results-${{ matrix.language }}-${{ matrix.mode }}"
110
+ path : fastlane/screenshots/test_output
111
+
81
112
- name : Archive Generated Screenshots
82
113
run : |
83
114
cd fastlane && mkdir $GITHUB_RUN_ID && mv screenshots $GITHUB_RUN_ID
0 commit comments