File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 40
40
needs : [compile, test]
41
41
if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
42
42
runs-on : ubuntu-latest
43
- permissions :
44
- id-token : write
45
43
steps :
46
44
- name : Checkout repo
47
45
uses : actions/checkout@v4
54
52
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
55
53
- name : Install dependencies
56
54
run : poetry install
57
- - name : Build package
58
- run : poetry --no-interaction -v build
59
- - name : Publish package
60
- uses : pypa/gh-action-pypi-publish@release/v1
55
+ - name : Publish to pypi
56
+ run : |
57
+ poetry config repositories.remote https://upload.pypi.org/legacy/
58
+ poetry --no-interaction -v publish --build --repository remote --username "$PYPI_USERNAME" --password "$PYPI_PASSWORD"
59
+ env :
60
+ PYPI_USERNAME : ${{ secrets.PYPI_USERNAME }}
61
+ PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "pipedream"
3
3
4
4
[tool .poetry ]
5
5
name = " pipedream"
6
- version = " 0.3.1 "
6
+ version = " 0.3.2 "
7
7
description = " "
8
8
readme = " README.md"
9
9
authors = []
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ def __init__(
26
26
27
27
def get_headers (self ) -> typing .Dict [str , str ]:
28
28
headers : typing .Dict [str , str ] = {
29
- "User-Agent" : "pipedream/0.3.1 " ,
29
+ "User-Agent" : "pipedream/0.3.2 " ,
30
30
"X-Fern-Language" : "Python" ,
31
31
"X-Fern-SDK-Name" : "pipedream" ,
32
- "X-Fern-SDK-Version" : "0.3.1 " ,
32
+ "X-Fern-SDK-Version" : "0.3.2 " ,
33
33
** (self .get_custom_headers () or {}),
34
34
}
35
35
if self ._x_pd_environment is not None :
You can’t perform that action at this time.
0 commit comments