Skip to content

Commit

Permalink
ci: use luuuis/python-semantic-release running on Python 3.12 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
luuuis authored Jan 9, 2024
1 parent 1d3ba5f commit 2aba05e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,17 @@ jobs:
with:
fetch-depth: 0
ref: ${{ github.head_ref || github.ref_name }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11

# Do a dry run of PSR
- name: Test release
uses: luuuis/python-semantic-release@a12c8c0b7c0c0bda0e45e692da80a1ee1744b125
uses: luuuis/python-semantic-release@a10d5823dfc89d835bad06d8544b22610eafafb5
if: github.ref_name != 'main'
with:
root_options: --noop

# On main branch: actual PSR + upload to PyPI & GitHub
- name: Release
uses: luuuis/python-semantic-release@a12c8c0b7c0c0bda0e45e692da80a1ee1744b125
uses: luuuis/python-semantic-release@a10d5823dfc89d835bad06d8544b22610eafafb5
id: release
if: github.ref_name == 'main'
with:
Expand Down

0 comments on commit 2aba05e

Please sign in to comment.