From f2eba3afde244263a60ff1626aa0842fb32a2914 Mon Sep 17 00:00:00 2001 From: Fatih Kaya <1994274@gmail.com> Date: Mon, 9 Dec 2024 04:07:08 +0300 Subject: [PATCH] build(python): compile code --- .github/workflows/publish-python-package.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-python-package.yml b/.github/workflows/publish-python-package.yml index a1d9634..a467bdb 100644 --- a/.github/workflows/publish-python-package.yml +++ b/.github/workflows/publish-python-package.yml @@ -16,7 +16,18 @@ jobs: permissions: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing steps: - # retrieve your distributions here + - uses: actions/checkout@v4 + - name: Set up Python 3.13 + uses: actions/setup-python@v5 + with: + python-version: "3.13" + # You can test your matrix by printing the current Python version + - name: Display Python version + run: python -c "import sys; print(sys.version)" + - name: Install dependencies + run: python3 -m pip install --upgrade build + - name: Build package + run: make clean build - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1