diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0138daf3..fc5dc13b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,19 +14,20 @@ jobs: # limit this to being run on regular commits, not the commits that semantic-release will create if: github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'chore(release):') runs-on: ubuntu-latest + concurrency: release steps: - name: Checkout code uses: actions/checkout@v2 + with: + fetch-depth: 0 - uses: actions/setup-python@v2 with: python-version: 3.7 - - name: Install Python Poetry - uses: abatilo/actions-poetry@v2.1.0 - with: - poetry-version: 1.1.8 - - name: Configure poetry - shell: bash - run: python -m poetry config virtualenvs.in-project true + - name: Install dependencies + run: | + python -m pip install poetry --upgrade pip + poetry config virtualenvs.create false + poetry install - name: View poetry version run: poetry --version - name: Semantic Release