File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 3030 if : inputs.pypi-test-token != ''
3131 with :
3232 user : __token__
33- password : ${{ secrets.test_pypi_token_lai }}
33+ password : ${{ input.pypi-test-token }}
3434 repository_url : https://test.pypi.org/legacy/
3535 packages_dir : pypi/
3636 verbose : true
Original file line number Diff line number Diff line change 7272 working-directory : ./
7373 env :
7474 PACKAGE_NAME : pytorch
75+ FREEZE_REQUIREMENTS : 1
7576 run : |
7677 pip install . -f https://download.pytorch.org/whl/cpu/torch_stable.html
7778 pip list
Original file line number Diff line number Diff line change @@ -123,7 +123,9 @@ jobs:
123123 - name : GIT Push
124124 run : |
125125 git status
126- git push
126+ # force push is not very nice
127+ # but so far the push is rejected even with exception for this user
128+ git push -f
127129
128130 waiting :
129131 # TODO: replace with back signal from build images/ loop checking for a specific branch?
@@ -181,7 +183,7 @@ jobs:
181183
182184 publish-packages :
183185 runs-on : ubuntu-20.04
184- needs : waiting
186+ needs : [build-packages, waiting]
185187 if : startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
186188 steps :
187189 - uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments