File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 2929
3030 - name : Build & Test
3131 run : make install test-install test
32-
32+
3333 deploy :
3434 name : Deploy
3535 if : success() && github.ref_type == 'tag'
@@ -51,12 +51,19 @@ jobs:
5151 pip install wheel
5252 python setup.py sdist bdist_wheel
5353
54+ - name : Create GitHub Release
55+ uses : sendgrid/dx-automator/actions/release@main
56+ with :
57+ footer : ' **[pypi](https://pypi.org/project/smtpapi/${version})**'
58+ env :
59+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
60+
5461 - name : Publish package to PyPI
5562 uses : pypa/gh-action-pypi-publish@release/v1
5663 with :
5764 user : __token__
5865 password : ${{ secrets.PYPI_TOKEN }}
59-
66+
6067 notify-on-failure :
6168 name : Slack notify on failure
6269 if : failure() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref_type == 'tag')
You can’t perform that action at this time.
0 commit comments