Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,12 @@ jobs:
fi
pytest -rsf -k "${known_failures}" test/

# TODO: change this placeholder to the actual job publishing artifacts to PyPI
publish:
needs: [ compose, test-torchcodec ]
if: github.event_name == 'release'
Comment thread
luis-real marked this conversation as resolved.
Outdated
Comment thread
luis-real marked this conversation as resolved.
Outdated
runs-on: ubuntu-24.04
permissions:
id-token: write
env:
WHEELS: torchlib-all-wheels
steps:
Expand All @@ -311,4 +313,13 @@ jobs:
path: _wheels
- name: 'List wheels'
run: |
ls _wheels
ls _wheels/*
- name: Publish package distributions to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Comment thread
luis-real marked this conversation as resolved.
Outdated
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: _wheels/*
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: _wheels/*
Comment thread
luis-real marked this conversation as resolved.
Outdated
Loading