Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: try to get push #15945

Merged
merged 4 commits into from Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/pkg-publish/action.yml
Expand Up @@ -30,7 +30,7 @@ runs:
if: inputs.pypi-test-token != ''
with:
user: __token__
password: ${{ secrets.test_pypi_token_lai }}
password: ${{ input.pypi-test-token }}
repository_url: https://test.pypi.org/legacy/
packages_dir: pypi/
verbose: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/legacy-checkpoints.yml
Expand Up @@ -72,6 +72,7 @@ jobs:
working-directory: ./
env:
PACKAGE_NAME: pytorch
FREEZE_REQUIREMENTS: 1
run: |
pip install . -f https://download.pytorch.org/whl/cpu/torch_stable.html
pip list
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release-pypi.yml
Expand Up @@ -123,7 +123,9 @@ jobs:
- name: GIT Push
run: |
git status
git push
# force push is not very nice
# but so far the push is rejected even with exception for this user
git push -f

waiting:
# TODO: replace with back signal from build images/ loop checking for a specific branch?
Expand Down Expand Up @@ -181,7 +183,7 @@ jobs:

publish-packages:
runs-on: ubuntu-20.04
needs: waiting
needs: [build-packages, waiting]
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
steps:
- uses: actions/checkout@v3
Expand Down