diff options
| author | Ján Jančár | 2025-11-22 13:52:24 +0100 |
|---|---|---|
| committer | GitHub | 2025-11-22 13:52:24 +0100 |
| commit | 8436df07381295b05a0cc892cca27e475629ee80 (patch) | |
| tree | 9b940ee0a8851baaff67567c4004cd3c2cc027fd /.github/workflows/release.yml | |
| parent | 7cfa1c9fc498013d1a4807e5a11f55f39e6595aa (diff) | |
| parent | 21aa562cdd1c21cc66e0b19b52b414af2782377e (diff) | |
| download | sec-certs-main.tar.gz sec-certs-main.tar.zst sec-certs-main.zip | |
Move to uv
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55d096f1..3ad5a317 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ jobs: pypi_release: name: Release on PyPi runs-on: ubuntu-22.04 - if: github.repository == 'crocs-muni/sec-certs' + #if: github.repository == 'crocs-muni/sec-certs' environment: name: pypi url: https://pypi.org/project/sec-certs/ @@ -17,19 +17,16 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Python - uses: actions/setup-python@v5 + - name: Install uv and Python + uses: astral-sh/setup-uv@v7 with: - python-version: "3.10" - - name: apt-get update - run: sudo apt-get update - - name: Install build dependencies - run: python -m pip install build - - name: Build distributions - shell: bash -l {0} - run: python -m build + python-version: 3.10 + enable-cache: true + - name: Build + run: uv build - name: Publish package to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + if: false + run: uv publish docker_release: name: Release on DockerHub environment: |
