-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: python version in release upload workflow (#36)
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
environment: test_release | ||
concurrency: release | ||
if: github.ref_name != 'main' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -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 | ||
|
||
|
@@ -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] | ||
|