This repository was archived by the owner on Jun 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,28 @@ jobs:
14
14
packaging :
15
15
name : Distribution
16
16
runs-on : ubuntu-latest
17
+
18
+ permissions :
19
+ id-token : write
20
+
21
+ environment :
22
+ name : pypi
23
+ url : https://pypi.org/p/betterproto2_compiler
24
+
17
25
steps :
18
- - uses : actions/checkout@v3
26
+ - uses : actions/checkout@v4
27
+
19
28
- name : Set up Python 3.10
20
29
uses : actions/setup-python@v4
21
30
with :
22
31
python-version : " 3.10"
32
+
23
33
- name : Install poetry
24
34
run : python -m pip install poetry
35
+
25
36
- name : Build package
26
37
run : poetry build
27
- - name : Publish package to PyPI
28
- if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
29
- env :
30
- POETRY_PYPI_TOKEN_PYPI : ${{ secrets.pypi }}
31
- run : poetry publish -n
38
+
39
+ - name : Publish package distributions to PyPI
40
+ # if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
41
+ uses : pypa/gh-action-pypi-publish@release/v1.12
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " betterproto2_compiler"
3
- version = " 2 .0.0b7 "
3
+ version = " 0 .0.1 "
4
4
description = " Compiler for betterproto2"
5
5
authors = [
" Adrien Vannson <[email protected] >" ,
" Daniel G. Taylor <[email protected] >" ]
6
6
readme = " README.md"
You can’t perform that action at this time.
0 commit comments