diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e8524c9f..cee6bd99 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,21 +13,26 @@ jobs: name: 'Build & publish package to PyPI' runs-on: 'ubuntu-latest' steps: - - uses: actions/checkout@v6 + + - name: Acquire source code + uses: actions/checkout@v6 with: fetch-depth: 0 fetch-tags: true persist-credentials: false - - name: Set up uv + - name: Install uv uses: astral-sh/setup-uv@v7 with: activate-environment: true enable-cache: true python-version: "3.14" - - name: Set up Hatch and Twine - run: uv pip install hatch twine + - name: Install Hatch + uses: pypa/hatch@install + + - name: Install Twine + run: uv pip install twine - name: Build package run: hatch build diff --git a/pyproject.toml b/pyproject.toml index f8190cf6..69257456 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatch", "versioningit"] +requires = ["hatchling", "versioningit"] build-backend = "hatchling.build" [tool.hatch.build.targets.sdist]