aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml21
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: