Skip to content

Commit

Permalink
Add build source file.
Browse files Browse the repository at this point in the history
Signed-off-by: Bhupender-Y <[email protected]>
  • Loading branch information
Bhupender-Y committed Oct 30, 2023
1 parent 97a12cd commit 0dc88a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build_source.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#! /usr/bin/env python3

from pathlib import Path
import subprocess

ROOT = Path(__file__).parent.parent.parent

subprocess.run(["maturin", "sdist"])
4 changes: 2 additions & 2 deletions .github/workflows/tagPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ jobs:
if: ${{ matrix.platform.os != 'ubuntu-20.04'}}
id: build_wheel
run: python -u .github/workflows/build_wheel.py
- name: build wheel
- name: build wheel 1
if: ${{ matrix.platform.os == 'ubuntu-20.04'}}
id: build_wheel
id: build_wheel1
run: python -u .github/workflows/build_wheel.py "maturin","build","--release","--compatibility=manylinux_2_31","--interpreter"
- name: build source
id: build_source
Expand Down

0 comments on commit 0dc88a4

Please sign in to comment.