File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 66 branches : [master, "release/*"]
77 release :
88 types : [published]
9+ pull_request : # this shall test only the part of workflow before publishing
10+ branches : [master, "release/*"]
11+ types : [opened, reopened, ready_for_review, synchronize]
12+ paths :
13+ - ' .github/actions/pkg-publish/*'
14+ - " .github/workflows/_legacy-checkpoints.yml.yml"
15+ - " .github/workflows/_build-packages.yml"
16+ - " .github/workflows/release-pypi.yml"
917
1018defaults :
1119 run :
1220 shell : bash
1321
22+ env :
23+ FREEZE_REQUIREMENTS : 1
24+ TORCH_URL : " https://download.pytorch.org/whl/cpu/torch_stable.html"
25+
1426jobs :
1527
1628 build-packages :
@@ -44,12 +56,12 @@ jobs:
4456 steps :
4557 - uses : actions/checkout@v3
4658 - name : install Package
47- env :
48- PACKAGE_NAME : " lightning "
49- run : pip install . -f https://download.pytorch.org/whl/cpu/torch_stable.html
59+ run : |
60+ pip install . -f ${TORCH_URL}
61+ pip list
5062 - name : package Version
5163 id : lai-package
52- run : python -c "import lightning as L ; print(f'version={L .__version__}')" >> $GITHUB_OUTPUT
64+ run : python -c "import lightning ; print(f'version={lightning .__version__}')" >> $GITHUB_OUTPUT
5365
5466
5567 signaling :
You can’t perform that action at this time.
0 commit comments