Skip to content

Commit

Permalink
ci: add automatic release publishing to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
TAG-Epic committed Jul 5, 2023
1 parent 5f52121 commit c8ed5a5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release
on:
release:
types: ["created"]
workflow_dispatch: {}

permissions:
id-token: write

jobs:
release:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
poetry install --no-root
- name: Build
run: |
poetry build
- name: Publish release
uses: pypa/gh-action-pypi-publish@release/v1


0 comments on commit c8ed5a5

Please sign in to comment.