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 18, 2023
2 parents c1d8a90 + b302ccc commit 08e001c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
export NUM_CORES=`sysctl -n hw.logicalcpu`
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'
sed -i '' 's/name = "onnx"/name = "onnx-weekly"/' 'pyproject.toml'
export ONNX_PREVIEW_BUILD=1
fi
python -m build --wheel
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
run: |
# Build and upload source distribution to PyPI
git clean -xdf
sed -i 's/name = "onnx"/name = "onnx-weekly"/' 'pyproject.toml'
sed -i '' 's/name = "onnx"/name = "onnx-weekly"/' 'pyproject.toml'
ONNX_PREVIEW_BUILD=1 python -m build --sdist
twine upload dist/* --repository-url https://upload.pypi.org/legacy/ -u ${{ secrets.ONNXWEEKLY_USERNAME }} -p ${{ secrets.ONNXWEEKLY_TOKEN }}
Expand Down

0 comments on commit 08e001c

Please sign in to comment.