Skip to content

Commit

Permalink
Merge pull request #17 from anaconda/chore/release-automation
Browse files Browse the repository at this point in the history
[chore] release automation fixes
  • Loading branch information
AlbertDeFusco authored Jan 27, 2025
2 parents dc93b8b + 0895616 commit 74e81e2
Show file tree
Hide file tree
Showing 4 changed files with 1,969 additions and 1,083 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,14 @@ jobs:
with:
name: anaconda-cli-base-wheel-${{ github.sha }}
path: ~/dist
- name: Install build dependencies
run: pip install twine
- name: Create build environment
run: |
source $CONDA/bin/activate
conda create -n build --file ./etc/build.linux-64.lock
- name: Upload to PyPI with twine
run: python -m twine upload ~/dist/*
run: |
source $CONDA/bin/activate && conda activate build
twine upload ~/dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
Loading

0 comments on commit 74e81e2

Please sign in to comment.