File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 - name : Publish distribution to PyPI
6464 if : startsWith(github.ref, 'refs/tags/')
6565 uses : pypa/gh-action-pypi-publish@v1.13.0
66+
67+ - name : Send Zulip notification
68+ if : startsWith(github.ref, 'refs/tags/')
69+ uses : zulip/github-actions-zulip/send-message@v1
70+ with :
71+ api-key : ${{ secrets.ZULIP_API_KEY }}
72+ email : ${{ secrets.ZULIP_EMAIL }}
73+ organization-url : ${{ vars.ZULIP_ORGANIZATION_URL }}
74+ to : ' Releases'
75+ type : ' stream'
76+ topic : ' IPython'
77+ content : |
78+ IPython ${{ github.ref_name }} was just released on PyPI! 🎉
79+ https://pypi.org/project/ipython/${{ github.ref_name }}/
Original file line number Diff line number Diff line change 1+ name : Post message to Zulip
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ post-message :
8+ name : Post Message to Zulip
9+ runs-on : ubuntu-latest
10+ environment :
11+ name : pypi
12+
13+ steps :
14+
15+ - name : Send Zulip notification
16+ if : startsWith(github.ref, 'refs/tags/')
17+ uses : zulip/github-actions-zulip/send-message@v1
18+ with :
19+ api-key : ${{ secrets.ZULIP_API_KEY }}
20+ email : ${{ secrets.ZULIP_EMAIL }}
21+ organization-url : ${{ vars.ZULIP_ORGANIZATION_URL }}
22+ to : ' Releases'
23+ type : ' stream'
24+ topic : ' IPython'
25+ content : |
26+ Test Auto release notification of IPython from GitHub action
You can’t perform that action at this time.
0 commit comments