Skip to content
6 changes: 5 additions & 1 deletion .github/workflows/weekly-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ permissions:
on:
schedule:
- cron: "0 2 * * 0" # 02:00 of every Sunday
pull_request: # temporarily enable for PR
branches:
- dev
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated

jobs:
static-checks:
Expand Down Expand Up @@ -55,7 +58,7 @@ jobs:
python-version: '3.10'
- name: Install setuptools
Comment thread
ericspod marked this conversation as resolved.
Outdated
run: |
python -m pip install --user --upgrade setuptools wheel packaging
python -m pip install --user --upgrade pip setuptools wheel packaging
- name: Build distribution
run: |
export HEAD_COMMIT_ID=$(git rev-parse HEAD)
Expand All @@ -72,6 +75,7 @@ jobs:
git tag "1.7.dev${YEAR_WEEK}"
git log -1
git tag --list
pip install . --extra-index-url "https://download.pytorch.org/whl/cpu"
python setup.py sdist bdist_wheel

- name: Publish to PyPI
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def get_cmds():

jit_extension_source = [os.path.join("..", path) for path in jit_extension_source]


setup(
version=versioneer.get_version(),
cmdclass=get_cmds(),
Expand Down
Loading