Skip to content

Commit 016138c

Browse files
committed
fix windows build
1 parent 7b73b9f commit 016138c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ jobs:
8383
steps:
8484
- uses: actions/checkout@v4
8585
- name: Download Python
86-
run: wget https://www.python.org/ftp/python/3.8.10/python-3.8.10-embed-amd64.zip
86+
run: Invoke-Webrequest https://www.python.org/ftp/python/3.8.10/python-3.8.10-embed-amd64.zip -OutFile python-3.8.10-embed-amd64.zip
8787
- name: Unzip
8888
run: |
89-
unzip python-3.8.10-embed-amd64.zip -d runtime
89+
Expand-Archive python-3.8.10-embed-amd64.zip -DestinationPath runtime
9090
- name: Clean
91-
run: rm -rf .env.example .gitignore README.md .github
91+
run: Remove-Item -Path .env.example .gitignore README.md .github
9292
- name: Get pip
9393
run: |
94-
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
94+
Invoke-Webrequest https://bootstrap.pypa.io/get-pip.py -OutFile get-pip.py
9595
runtime/python.exe get-pip.py
9696
- name: Install requirements
9797
run: |

0 commit comments

Comments
 (0)