From b03f79e62d9da7ef7472b787ad2ef01e91a74790 Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Thu, 19 Dec 2024 19:24:32 +0300 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 78d5cb3..2574f9d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,23 +38,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.10' - - - name: Install dependencies - run: python -m pip install --upgrade pip setuptools wheel - - - name: Build package - run: python setup.py sdist bdist_wheel - - - name: Publish package - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: ${{ secrets.PYPI_USERNAME }} - password: ${{ secrets.PYPI_PASSWORD }} - - name: Generate versions uses: HardNorth/github-version-generate@v1 with: @@ -62,6 +45,23 @@ jobs: version-file: ${{ env.VERSION_FILE }} version-file-extraction-pattern: ${{ env.VERSION_EXTRACT_PATTERN }} + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.10' + +# - name: Install dependencies +# run: python -m pip install --upgrade pip setuptools wheel + +# - name: Build package +# run: python setup.py sdist bdist_wheel +# +# - name: Publish package +# uses: pypa/gh-action-pypi-publish@release/v1 +# with: +# user: ${{ secrets.PYPI_USERNAME }} +# password: ${{ secrets.PYPI_PASSWORD }} + - name: Setup git credentials uses: oleksiyrudenko/gha-git-credentials@v2-latest with: