diff options
| author | J08nY | 2025-11-18 14:58:47 +0100 |
|---|---|---|
| committer | J08nY | 2025-11-18 14:58:47 +0100 |
| commit | f129ec7fbb42a2f632d287e02f12671ec08d8cba (patch) | |
| tree | 2e672d75d3f647c899319a59cf5b1e57886c7279 /.github/workflows | |
| parent | fe72ac4235e0f25768bbe1f01aa97449fd7134bd (diff) | |
| download | sec-certs-f129ec7fbb42a2f632d287e02f12671ec08d8cba.tar.gz sec-certs-f129ec7fbb42a2f632d287e02f12671ec08d8cba.tar.zst sec-certs-f129ec7fbb42a2f632d287e02f12671ec08d8cba.zip | |
Publish via uv.
Diffstat (limited to '.github/workflows')
| -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: |
