Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Dec 19, 2024
1 parent 47cd3c0 commit b03f79e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,30 +38,30 @@ 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:
version-source: file
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:
Expand Down

0 comments on commit b03f79e

Please sign in to comment.