From 1a18146c0713c4cd6d42d33034c8189fc48d7547 Mon Sep 17 00:00:00 2001 From: Andrey Kislyuk Date: Sat, 28 Dec 2024 18:57:23 -0800 Subject: [PATCH] Update release workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c15e6f..26c7ad3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,13 +9,13 @@ jobs: pypi-publish: name: Build and upload release to PyPI runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' environment: release permissions: id-token: write steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 + - run: pip install build - run: python -m build - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1