Skip to content

Commit

Permalink
Publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
marekm4 committed Sep 29, 2024
1 parent a62ea48 commit e4d243a
Showing 1 changed file with 30 additions and 0 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

concurrency: production

on:
push:
branches:
- main

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Build
run: |
python3 -m pip install build
python3 -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true

0 comments on commit e4d243a

Please sign in to comment.