diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1c96398..a86019f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,21 +24,24 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] + defaults: + run: + shell: bash runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v1 with: python-version: '3.9.x' - - run: | - pip install --user -U pip poetry - poetry install - env: - POETRY_VIRTUALENVS_CREATE: false - + - name: Install Poetry + uses: snok/install-poetry@v1 + with: + virtualenvs-create: true + virtualenvs-in-project: true + - name: Poetry install + run: poetry install --no-interaction --no-root - name: Run the build process run: poetry run pyinstaller --onefile preprocess_cancellation.py - - name: Archive production artifacts uses: actions/upload-artifact@v2 with: