This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
Merge pull request #520 from Atem18/dependabot/pip/virtualenv-20.27.1 #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Kraky | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
build-n-publish: | |
name: Build and publish Python 🐍 distributions 📦 to TestPyPI | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.10.14 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.10.14 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
enable-cache: true | |
- name: Install build dependencies | |
run: uv pip install --system -r requirements/build-requirements.txt | |
- name: Build package | |
run: uv run hatch build | |
- name: Publish distribution 📦 to Test PyPI | |
uses: pypa/[email protected] | |
with: | |
password: ${{ secrets.test_pypi_password }} | |
repository-url: https://test.pypi.org/legacy/ | |
skip-existing: true |