Skip to content
Open
Changes from all commits
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
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
branches:
- main
- 'release/**'
release:
types:
- published

permissions: read-all

Expand Down Expand Up @@ -297,10 +300,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.
runs-on: ubuntu-24.04
permissions:
id-token: write
env:
WHEELS: torchlib-all-wheels
steps:
Expand All @@ -311,4 +316,8 @@ jobs:
path: _wheels
- name: 'List wheels'
run: |
ls _wheels
ls _wheels/*
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: _wheels/*
Loading