Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: python version in release upload workflow #36

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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