Skip to content

Commit

Permalink
test update release build
Browse files Browse the repository at this point in the history
Differential Revision: D53024751
  • Loading branch information
henrylhtsang authored and facebook-github-bot committed Jan 23, 2024
1 parent 35ebeda commit a3b6d5d
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
name: Push Binary Release

on:
workflow_call:
secrets:
PYPI_TOKEN:
required: false
workflow_dispatch:
# workflow_call:
# secrets:
# PYPI_TOKEN:
# required: false
# workflow_dispatch:
pull_request:

jobs:

Expand Down Expand Up @@ -206,14 +207,14 @@ jobs:
conda run -n build_binary \
python -c "import torchrec"
# Push to Pypi
- name: Push TorchRec Binary to PYPI
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
conda run -n build_binary python -m pip install twine
conda run -n build_binary \
python -m twine upload \
--username __token__ \
--password "$PYPI_TOKEN" \
--skip-existing \
torchrec-*.whl
# - name: Push TorchRec Binary to PYPI
# env:
# PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
# run: |
# conda run -n build_binary python -m pip install twine
# conda run -n build_binary \
# python -m twine upload \
# --username __token__ \
# --password "$PYPI_TOKEN" \
# --skip-existing \
# torchrec-*.whl

0 comments on commit a3b6d5d

Please sign in to comment.