Update build.yml

This commit is contained in:
Jay Lee
2021-12-22 20:06:18 -05:00
committed by GitHub
parent cc5df0198b
commit 79686fd8ce

View File

@@ -18,7 +18,7 @@ env:
MIN_OPENSSL_VERSION: "1.1.1l" MIN_OPENSSL_VERSION: "1.1.1l"
PATCHELF_VERSION: "0.13" PATCHELF_VERSION: "0.13"
# PYINSTALLER_VERSION can be full commit hash or version like v4.20 # PYINSTALLER_VERSION can be full commit hash or version like v4.20
PYINSTALLER_VERSION: "86eeca8b4ba8012ab2df19ca206cafbe263b6a81" #PYINSTALLER_VERSION: "86eeca8b4ba8012ab2df19ca206cafbe263b6a81"
jobs: jobs:
build: build:
@@ -103,7 +103,7 @@ jobs:
path: | path: |
~/python ~/python
~/ssl ~/ssl
key: ${{ matrix.os }}-${{ matrix.jid }}-20211215 key: ${{ matrix.os }}-${{ matrix.jid }}-20211222
- name: Set env variables - name: Set env variables
env: env:
@@ -189,11 +189,7 @@ jobs:
- name: Install PyInstaller - name: Install PyInstaller
if: matrix.goal != 'test' if: matrix.goal != 'test'
run: | run: |
export url="https://codeload.github.com/pyinstaller/pyinstaller/tar.gz/${PYINSTALLER_VERSION}" git clone https://github.com/pyinstaller/pyinstaller.git
echo "Downloading ${url}"
curl -o pyinstaller.tar.gz --compressed "${url}"
tar xf pyinstaller.tar.gz
mv "pyinstaller-${PYINSTALLER_VERSION}/" pyinstaller
cd pyinstaller cd pyinstaller
# remove pre-compiled bootloaders so we fail if bootloader compile fails # remove pre-compiled bootloaders so we fail if bootloader compile fails
rm -rf PyInstaller/bootloader/*/* rm -rf PyInstaller/bootloader/*/*