Skip to content

Commit

Permalink
Merge branch 'main' into justinchu/dft
Browse files Browse the repository at this point in the history
  • Loading branch information
justinchuby committed Sep 13, 2023
2 parents 94051ba + 02a41bf commit 0b99055
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ jobs:
source workflow_scripts/protobuf/build_protobuf_unix.sh $NUM_CORES $(pwd)/protobuf/protobuf_install
if [ '${{ github.event_name }}' == 'schedule' ]; then
sed -i 's/name = "onnx"/name = "onnx-weekly"/' 'pyproject.toml'
ONNX_PREVIEW_BUILD=1 python -m build --wheel
else
python -m build --wheel
export ONNX_PREVIEW_BUILD=1
fi
python -m build --wheel
for file in dist/*.whl; do
python -m pip install --upgrade $file;
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,9 @@ jobs:
if ('${{ github.event_name }}' -eq 'schedule') {
echo "Build weekly PyPI package"
(Get-Content -Path 'pyproject.toml') | ForEach-Object { $_ -replace 'name = "onnx"', 'name = "onnx-weekly"' } | Set-Content -Path 'pyproject.toml'
ONNX_PREVIEW_BUILD=1 python -m build --wheel
} else {
python -m build --wheel
set ONNX_PREVIEW_BUILD=1
}
python -m build --wheel
Get-ChildItem -Path dist/*.whl | foreach {python -m pip install --upgrade $_.fullname}
- name: Test the installed wheel
Expand Down

0 comments on commit 0b99055

Please sign in to comment.