Skip to content

Commit eca34fa

Browse files
authored
feat: add manual action for publish on pypi and update postgrest and gotrue deps (#124)
* chore: add manual action for publish on pypi * feat(deps): upgrade postgrest and gotrue
1 parent c07e6e4 commit eca34fa

File tree

3 files changed

+59
-29
lines changed

3 files changed

+59
-29
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Manual PyPi Publish
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
username:
6+
description: PyPi Username
7+
required: true
8+
default: __token__
9+
password:
10+
description: PyPi Password
11+
required: true
12+
jobs:
13+
publish:
14+
name: Manual PyPi Publish
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Clone Repository
18+
uses: actions/checkout@v2
19+
- name: Set up Python '3.10'
20+
uses: actions/setup-python@v2
21+
with:
22+
python-version: '3.10'
23+
- name: Set up Poetry
24+
uses: abatilo/[email protected]
25+
with:
26+
poetry-version: 1.1.12
27+
- name: Install dependencies
28+
run: poetry install
29+
- name: Publish to PyPi
30+
run: poetry publish --build -u ${{ github.event.inputs.username }} -p ${{ github.event.inputs.password }}

poetry.lock

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ classifiers = [
1616

1717
[tool.poetry.dependencies]
1818
python = "^3.7"
19-
postgrest-py = "0.7.0"
19+
postgrest-py = "^0.8.0"
2020
realtime = "^0.0.4"
21-
gotrue = "^0.3.0"
22-
httpx = ">=0.19,<0.22"
21+
gotrue = "^0.4.0"
22+
httpx = "^0.21.3"
2323
requests = "^2.27.1"
2424
requests-toolbelt = "^0.9.1"
2525

0 commit comments

Comments
 (0)