File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ jobs:
104104 with :
105105 name : widget-build
106106 path : |
107- dist/widget.*
108- dist/style.css
107+ dist/embed/ widget.*
108+ dist/embed/ style.css
109109 retention-days : 1
110110
111111 test-widget :
@@ -127,15 +127,17 @@ jobs:
127127 uses : actions/download-artifact@v4
128128 with :
129129 name : widget-build
130- path : dist/
130+ path : dist/embed/
131131
132132 - name : Verify downloaded files
133133 run : |
134134 echo "Contents of dist directory:"
135135 ls -la dist/
136+ echo "Contents of dist/embed directory:"
137+ ls -la dist/embed/
136138 echo "Checking for required files..."
137- test -f dist/widget.umd.js || (echo "widget.umd.js not found!" && exit 1)
138- test -f dist/style.css || (echo "style.css not found!" && exit 1)
139+ test -f dist/embed/ widget.umd.js || (echo "widget.umd.js not found!" && exit 1)
140+ test -f dist/embed/ style.css || (echo "style.css not found!" && exit 1)
139141 echo "Contents of root directory:"
140142 ls -la
141143 echo "Checking test-widget-embed.html exists:"
You can’t perform that action at this time.
0 commit comments