Skip to content

Commit

Permalink
chg: bump deps, add autorelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Apr 2, 2024
1 parent d380bb2 commit 0aa0b3f
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 128 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
release:
types:
- published

name: release

jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pyhashlookup
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Poetry
run: python -m pip install --upgrade pip poetry
- name: Build artifacts
run: poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Loading

0 comments on commit 0aa0b3f

Please sign in to comment.