diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 155ec27..3da77fd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -83,15 +83,19 @@ jobs: steps: - uses: actions/checkout@v4 - name: Download Python - run: wget https://www.python.org/ftp/python/3.8.10/python-3.8.10-embed-amd64.zip + 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 - name: Unzip run: | - unzip python-3.8.10-embed-amd64.zip -d runtime + Expand-Archive python-3.8.10-embed-amd64.zip -DestinationPath runtime - name: Clean - run: rm -rf .env.example .gitignore README.md .github + run: | + Remove-Item -Path .github -Recurse + cmd /c "del .gitignore /s /q" + cmd /c "del README.md /s /q" + cmd /c "del .env.example /s /q" - name: Get pip run: | - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py + Invoke-Webrequest https://bootstrap.pypa.io/get-pip.py -OutFile get-pip.py runtime/python.exe get-pip.py - name: Install requirements run: |