Skip to content

Commit 7ca5103

Browse files
committed
new job
1 parent 4c23d97 commit 7ca5103

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/python-release.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,27 @@ on:
2929

3030

3131
jobs:
32-
build_wheels:
33-
name: Build wheels on ${{ matrix.os }}
34-
runs-on: ${{ matrix.os }}
35-
strategy:
36-
matrix:
37-
os: [ ubuntu-22.04, windows-2022, macos-13, macos-14, macos-15 ]
38-
32+
validate_version:
33+
name: Validate version input
34+
runs-on: ubuntu-latest
3935
steps:
40-
- name: Validate version input
36+
- name: Check version format
4137
if: ${{ github.event.inputs.version != 'main' && !contains(github.event.inputs.version, 'rc') }}
4238
run: |
4339
echo "Error: Invalid version format. You provided: '${{ github.event.inputs.version }}'"
4440
echo "Allowed formats:"
4541
echo " - 'main'"
46-
echo " - version string containing 'rc' (e.g., 0.8.0rc1, 0.8.0rc2)"
42+
echo " - Semantic version with 'rc' suffix (e.g., 0.8.0rc1, 0.8.0rc2)"
4743
exit 1
4844
45+
build_wheels:
46+
name: Build wheels on ${{ matrix.os }}
47+
runs-on: ${{ matrix.os }}
48+
strategy:
49+
matrix:
50+
os: [ ubuntu-22.04, windows-2022, macos-13, macos-14, macos-15 ]
51+
52+
steps:
4953
- uses: actions/checkout@v4
5054
with:
5155
fetch-depth: 0

0 commit comments

Comments
 (0)