Skip to content

Commit

Permalink
Fix release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mducle committed May 30, 2024
1 parent fc5fab4 commit 607ec45
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
- name: Upload release wheels
if: ${{ github.event_name == 'release' }}
run: |
pip3 install requests
pip3 install requests numpy
python3 release.py --notest --github --token=${{ secrets.GH_GIST_TOKEN }}
#- name: Setup tmate
# if: ${{ failure() }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches: [main]
types: [closed]
workflow_dispatch:

jobs:
create_release:
Expand All @@ -18,5 +19,5 @@ jobs:
github.event.pull_request.merged
shell: bash -l {0}
run: |
pip3 install requests
pip3 install requests numpy
python3 release.py --notest --github --create_tag --token=${{ secrets.GH_GIST_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/upload_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fetch-depth: 0
- name: Download wheels
run: |
python3 -m pip install twine requests
python3 -m pip install twine requests numpy
python3 release.py --pypi --token=${{ secrets.GH_GIST_TOKEN }}
- name: Publish wheels to PyPI
env:
Expand Down

0 comments on commit 607ec45

Please sign in to comment.