Skip to content

Commit 64cc647

Browse files
committed
fix windows workflow
Signed-off-by: Derek Ho <[email protected]>
1 parent 71ab8d8 commit 64cc647

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/dashboards-reports-test-and-build-workflow.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ jobs:
141141
cd OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}
142142
curl.exe -LO https://github.com/opensearch-project/dashboards-reports/releases/download/chromium-1.12.0.0/chromium-windows-x64.zip
143143
Expand-Archive -Path 'chromium-windows-x64.zip'
144+
Move-Item -Path "./chromium-windows-x64/.chromium" -Destination "./.chromium"
144145
rd chromium-windows-x64.zip
146+
rd chromium-windows-x64
145147
146148
- name: OpenSearch Dashboards Plugin Bootstrap
147149
uses: nick-invision/retry@v1
@@ -169,8 +171,9 @@ jobs:
169171
cd windows-x64
170172
curl.exe -LO https://github.com/opensearch-project/dashboards-reports/releases/download/chromium-1.12.0.0/chromium-windows-x64.zip
171173
Expand-Archive -Path 'chromium-windows-x64.zip'
174+
Move-Item -Path "./chromium-windows-x64/.chromium" -Destination "./opensearch-dashboards/${{ env.PLUGIN_NAME }}"
172175
rd chromium-windows-x64.zip
173-
Move-Item -Path ".chromium" -Destination "./opensearch-dashboards/${{ env.PLUGIN_NAME }}"
176+
rd chromium-windows-x64
174177
Compress-Archive -Path "./${{ env.ARTIFACT_NAME }}-*.zip" -Destination "./opensearch-dashboards"
175178
mv ./${{ env.ARTIFACT_NAME }}-*.zip ..
176179
cd ..

0 commit comments

Comments
 (0)