Skip to content

Commit

Permalink
fix: python version in release upload workflow (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Jan 10, 2024
1 parent fdcc42f commit 4bd2e90
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
runs-on: ubuntu-latest
environment: test_release
concurrency: release
if: github.ref_name != 'main'

steps:
- uses: actions/checkout@v4
Expand All @@ -85,7 +86,6 @@ jobs:
# Dry run of PSR to build the distribution
- name: Test release
uses: python-semantic-release/[email protected]
if: github.ref_name != 'main'
with:
root_options: --noop

Expand Down Expand Up @@ -130,6 +130,11 @@ jobs:
fetch-depth: 0
ref: ${{ github.head_ref || github.ref_name }}

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12

# On main branch: Call PSR to build the distribution
- name: Release
uses: python-semantic-release/[email protected]
Expand Down

0 comments on commit 4bd2e90

Please sign in to comment.