FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

CI: Use bash to properly expand variable by hugovk · Pull Request #127822 · python/cpython · GitHub

/ cpython Public
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .yml  (1) All 1 file type selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
3 changes: 2 additions & 1 deletion .github/workflows/reusable-windows-msi.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ jobs:
with:
persist-credentials: false
- name: Build CPython installer
run: .\Tools\msi\build.bat --doc -"${ARCH}"
run: ./Tools/msi/build.bat --doc -"${ARCH}"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

It seems that with shell: bash both / and \\ work for paths, but not \.
I've seen (and used) \\ elsewhere, but since this is the only instance in this file and / is more readable we don't need to worry about consistency here.

AlexWaygood Dec 11, 2024
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yes, / and \\ are both valid path separators on Windows, so using / always works fine for paths on Windows. The difference between the platforms is that / is not the default path separator on Windows.

shell: bash

Back | FazBrowse Home | New Git URL