Skip to content

Commit

Permalink
Merge pull request #82 from matin/publish
Browse files Browse the repository at this point in the history
* publish workflow

* bump requests-oauthlib version based on #81
  • Loading branch information
matin authored Dec 11, 2024
2 parents de386a5 + ca75d7f commit 1d65496
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 121 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish to PyPI

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/garth
permissions:
id-token: write

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.13"

- uses: ./.github/actions/setup-uv

- name: Build package
run: |
uv build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [
dependencies = [
"requests>=2.0.0,<3.0.0",
"pydantic>=1.10.12,<3.0.0",
"requests-oauthlib>=1.3.1,<2.0.0",
"requests-oauthlib>=1.3.1,<3.0.0",
]
requires-python = ">=3.10"
readme = "README.md"
Expand Down
Loading

0 comments on commit 1d65496

Please sign in to comment.