File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 21
21
uses : ./
22
22
with :
23
23
sourceDir : " ./tests"
24
- timeout-minutes : 30
24
+ timeout-minutes : 15
25
25
- name : " Upload Build Artifact"
26
26
uses : actions/upload-artifact@v4
27
27
id : " upload"
Original file line number Diff line number Diff line change @@ -246,10 +246,10 @@ Minimize-Window "Choose a theme"
246
246
# Save the document
247
247
Write-Host " Saving document..."
248
248
try {
249
- if ($officeAppName -eq " PowerPoint" ) {
249
+ if ($officeAppName -eq " PowerPoint" -or $officeAppName -eq " Word " ) {
250
250
# For PowerPoint, use SaveAs with the same file name to force save
251
251
$doc.SaveAs ($outputFilePath )
252
- Write-Host " PowerPoint presentation saved using SaveAs method"
252
+ Write-Host " Document saved using SaveAs method"
253
253
} else {
254
254
$doc.Save ()
255
255
Write-Host " Document saved successfully"
You can’t perform that action at this time.
0 commit comments