diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 25fec39..efbdeb8 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -22,15 +22,12 @@ jobs: key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies run: | - source $HOME/.poetry/env poetry install - name: Test run: | - source $HOME/.poetry/env poetry run test - name: Build run: | - source $HOME/.poetry/env poetry run pyinstaller --onefile --windowed --hidden-import='PIL._tkinter_finder' inbac/inbac.py - name: Upload Artifact uses: actions/upload-artifact@v2 @@ -52,15 +49,12 @@ jobs: poetry config virtualenvs.in-project true - name: Install dependencies run: | - $env:Path += ";$env:Userprofile\.poetry\bin" poetry install - name: Test run: | - $env:Path += ";$env:Userprofile\.poetry\bin" poetry run test - name: Build run: | - $env:Path += ";$env:Userprofile\.poetry\bin" poetry run pyinstaller --onefile --windowed --hidden-import='PIL._tkinter_finder' inbac\inbac.py - name: Upload Artifact uses: actions/upload-artifact@v2 @@ -87,15 +81,12 @@ jobs: key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies run: | - source $HOME/.poetry/env poetry install - name: Test run: | - source $HOME/.poetry/env poetry run test - name: Build run: | - source $HOME/.poetry/env poetry run pyinstaller --onefile --windowed --hidden-import='PIL._tkinter_finder' inbac/inbac.py - name: Upload Artifact uses: actions/upload-artifact@v2