Commit 2f0f994 1 parent f96a8e0 commit 2f0f994 Copy full SHA for 2f0f994
File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches :
4
+ - master
5
+
6
+ permissions :
7
+ contents : write
8
+ pull-requests : write
9
+ packages : write
10
+
11
+ name : release-please
12
+
13
+ jobs :
14
+ release-please :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v3
18
+ - name : Set up Python
19
+ uses : actions/setup-python@v3
20
+ with :
21
+ python-version : ' 3.x'
22
+ - name : Install dependencies
23
+ run : |
24
+ python -m pip install --upgrade pip
25
+ pip install build
26
+ - name : Build package
27
+ run : python -m build
28
+ - uses : google-github-actions/release-please-action@v4
29
+ with :
30
+ release-type : python
31
+ - name : Publish package
32
+ uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
33
+ with :
34
+ user : __token__
35
+ password : ${{ secrets.PYPI_API_TOKEN }}
36
+ if : ${{ steps.release.outputs.release_created }}
You can’t perform that action at this time.
0 commit comments