Skip to content

Commit

Permalink
ECC-1972: support for Windows binary wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell committed Nov 20, 2024
1 parent 4705b0d commit da690b9
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/build-wheel-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ jobs:


deploy:
if: ${{ github.event_name == 'release' }}
#if: ${{ github.event_name == 'release' }}

needs: [test, build]

Expand All @@ -222,24 +222,7 @@ jobs:
with:
name: wheel-windows-${{ matrix.python-version }}-${{ matrix.architecture }}

- run: twine upload *.whl
- run: twine upload --repository testpypi *.whl
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}

notify:
if: ${{ github.event_name == 'release' }}

# This is done here because the windows build is the slowest
name: Notify universal

needs: deploy
runs-on: ubuntu-latest

steps:
- uses: mvasigh/dispatch-action@main
with:
token: ${{ secrets.NOTIFY_ECMWFLIBS }}
repo: ecmwflibs
owner: ecmwf
event_type: ecmwflibs-windows-uploaded
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_API_TOKEN }}

0 comments on commit da690b9

Please sign in to comment.