Skip to content

Commit 7e3bc82

Browse files
committed
fixed ci path
1 parent 4727929 commit 7e3bc82

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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:"

0 commit comments

Comments
 (0)