Skip to content

Commit a886515

Browse files
Fix ESP8266SdFat architecture, Windows CI (#7866)
* Fix ESP8266SdFat architecture Avoid problems reported in https://forum.arduino.cc/index.php?topic=726897.msg4889319 * Fix Windows CI, python3 now *maybe* exists Python3 used to be called "python.exe" on earlier VMs, but it looks like the image has been updated and a "python3.exe" does now exist. Update the CI script to first check it "python3" exists, and if not then do the copy hack, OTW do nothing.
1 parent 07b4c09 commit a886515

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
run: |
103103
# Windows has python3 already installed, but it's called "python".
104104
# Copy python.exe to the proper name so scripts "just work".
105-
copy (get-command python).source (get-command python).source.Replace("python.exe", "python3.exe")
105+
try { Get-Command python3 } catch { copy (get-command python).source (get-command python).source.Replace("python.exe", "python3.exe") }
106106
bash ./tests/build.sh
107107
108108

libraries/ESP8266SdFat

0 commit comments

Comments
 (0)