We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e78844 commit d8dc87bCopy full SHA for d8dc87b
.github/workflows/ci.yml
@@ -5,6 +5,8 @@ on:
5
branches:
6
- master
7
- '*-maint'
8
+ tags:
9
+ - 'v*'
10
pull_request:
11
12
@@ -76,3 +78,23 @@ jobs:
76
78
with:
77
79
name: dist
80
path: dist
81
+ publish:
82
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
83
+ needs:
84
+ - build
85
+ runs-on: ubuntu-latest
86
+ environment:
87
+ name: release
88
+ url: https://pypi.org/p/babel/
89
+ permissions:
90
+ id-token: write
91
+ steps:
92
+ - uses: actions/download-artifact@v3
93
+ with:
94
+ name: dist
95
+ path: dist/
96
+ - name: Publish package distributions to PyPI
97
+ uses: pypa/gh-action-pypi-publish@release/v1
98
99
+ verbose: true
100
+ print-hash: true
0 commit comments