Skip to content

Commit c0d8cc3

Browse files
committed
gha - fix command on Windows
1 parent aad4907 commit c0d8cc3

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/create-release.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -446,11 +446,14 @@ jobs:
446446
if: ${{ inputs.publish-release }}
447447
uses: ./.github/workflows/actions/prevent-rerun
448448

449-
- uses: actions/download-artifact@v4
449+
- name: "Download Windows Zip"
450+
uses: actions/download-artifact@v4
450451
with:
451452
name: Windows Zip
452453
path: .
453-
- run: |
454+
455+
- name: "Extract Windows Zip"
456+
run: |
454457
tar -xf quarto-${{needs.configure.outputs.version}}-win.zip
455458
456459
# Check for share/preview/quarto-preview.js
@@ -462,15 +465,17 @@ jobs:
462465
exit 1
463466
fi
464467
465-
- run: Add-Content $env:GITHUB_PATH "$env:GITHUB_WORKSPACE\bin"
468+
- name: "Add bin to PATH"
469+
run: Add-Content $env:GITHUB_PATH "$env:GITHUB_WORKSPACE\bin"
466470

467-
- run: |
468-
tar -tzvf quarto-${{needs.configure.outputs.version}}-win.zip
471+
- name: "Show Directory Listing and PATH"
472+
run: |
469473
ls -lR
470474
echo $PATH
471475
shell: bash
472476

473-
- run: |
477+
- name: "Run Quarto Commands"
478+
run: |
474479
quarto check
475480
quarto --paths
476481
quarto --version

0 commit comments

Comments
 (0)