Skip to content

Commit

Permalink
Fix anaconda upload (#2621)
Browse files Browse the repository at this point in the history
Summary:
Same as:
pytorch/vision#6422

Testing:
```
export ANACONDA_PATH=$(conda info --base)/bin
echo $ANACONDA_PATH
/opt/homebrew/Caskroom/miniconda/base/bin
$ANACONDA_PATH/anaconda -V
anaconda Command line client (version 1.10.0)
```
Failure: https://github.com/pytorch/audio/runs/7837085749?check_suite_focus=true

Pull Request resolved: #2621

Reviewed By: weiwangmeta, seemethere

Differential Revision: D38714324

Pulled By: atalman

fbshipit-source-id: 55342cf69006e9250403c955202846bab4516f3e
  • Loading branch information
atalman authored and facebook-github-bot committed Aug 15, 2022
1 parent b475dc3 commit 556a8dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-m1-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ jobs:
run: |
conda install -yq anaconda-client
set -x
anaconda -t "${CONDA_PYTORCHBOT_TOKEN}" upload dist/*.tar.bz2 -u "pytorch-${CHANNEL}" --label main --no-progress --force
export ANACONDA_PATH=$(conda info --base)/bin
$ANACONDA_PATH/anaconda -t "${CONDA_PYTORCHBOT_TOKEN}" upload dist/osx-arm64/*.tar.bz2 -u "pytorch-${CHANNEL}" --label main --no-progress --force
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
Expand Down

0 comments on commit 556a8dc

Please sign in to comment.