Skip to content

Commit

Permalink
ECC-1793: develop binary wheel - deploy to main pypi repo
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell committed Sep 6, 2024
1 parent aa626c5 commit 56b5ec0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-wheel-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
source ./scripts/select-python-linux.sh 3.10
pip3 install twine
ls -l artifact-${{ matrix.python-version }}/*.whl
twine upload --repository testpypi artifact-${{ matrix.python-version }}/*.whl
twine upload artifact-${{ matrix.python-version }}/*.whl
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_API_TOKEN }}
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/build-wheel-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
source ${VENV_DIR}/bin/activate
pip3 install twine
ls -l artifact-${{ matrix.arch_type }}-${{ matrix.python-version }}/*.whl
twine upload --repository testpypi artifact-${{ matrix.arch_type }}-${{ matrix.python-version }}/*.whl
twine upload artifact-${{ matrix.arch_type }}-${{ matrix.python-version }}/*.whl
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_API_TOKEN }}
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 0 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ jobs:
pypi:
needs: [wheel-linux, wheel-macos]
uses: ecmwf-actions/reusable-workflows/.github/workflows/cd-pypi.yml@v2
with:
testpypi: true
secrets: inherit

0 comments on commit 56b5ec0

Please sign in to comment.