File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -83,16 +83,20 @@ jobs:
83
83
steps :
84
84
- uses : actions/checkout@v4
85
85
- 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
87
87
- name : Unzip
88
88
run : |
89
- unzip python-3.8.10-embed-amd64.zip -d runtime
89
+ Expand-Archive python-3.8.10-embed-amd64.zip -DestinationPath runtime
90
90
- name : Clean
91
- run : rm -rf .env.example .gitignore README.md .github
91
+ run : |
92
+ Remove-Item -Path .github -Recurse
93
+ cmd /c "del .gitignore /s /q"
94
+ cmd /c "del README.md /s /q"
95
+ cmd /c "del .env.example /s /q"
92
96
- name : Get pip
93
97
run : |
94
- curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
95
- runtime/python.exe get-pip.py
98
+ Invoke-Webrequest https://bootstrap.pypa.io/get-pip.py -OutFile get-pip.py
99
+ runtime/python.exe get-pip.py --no-warn-script-location --target runtime
96
100
- name : Install requirements
97
101
run : |
98
102
runtime/python.exe -m pip install --upgrade pip
You can’t perform that action at this time.
0 commit comments