diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21775a7..ee1f718 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,20 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.9" + + - name: Install Poetry + uses: snok/install-poetry@v1 + with: + virtualenvs-create: true + virtualenvs-in-project: true + + - name: Install dependencies + run: poetry install --only dev + - name: Version Check and population of PROJECT_VERSION var run: | PROJECT_VERSION=$(poetry version --short) @@ -36,20 +50,6 @@ jobs: tag_name: ${{ github.ref }} release_name: ${{ github.ref }} draft: true - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "3.9" - - - name: Install Poetry - uses: snok/install-poetry@v1 - with: - virtualenvs-create: true - virtualenvs-in-project: true - - - name: Install dependencies - run: poetry install --only dev - name: Build sdist, wheel, and pex run: >