Skip to content

Commit

Permalink
ci: Use python3.10, fix pypi publish
Browse files Browse the repository at this point in the history
  • Loading branch information
christianwgd committed May 20, 2024
1 parent d621132 commit c9175d3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
id: release
with:
release-type: python
package-name: django-bootstrap5-dark-mode-switch


deploy:
environment: deployment
runs-on: ubuntu-latest
Expand All @@ -29,7 +28,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '3.10'
- name: Install pypa/build
run: >-
python -m
Expand All @@ -52,7 +51,6 @@ jobs:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
Expand Down

0 comments on commit c9175d3

Please sign in to comment.