Skip to content

Commit

Permalink
Merge pull request #35 from matsui528/on_release
Browse files Browse the repository at this point in the history
Better publishing
  • Loading branch information
matsui528 authored Oct 26, 2023
2 parents 7e8ec5e + 4fcb6bb commit 9429358
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Publishing

on: [push]
on:
release:
types: [published]

jobs:
pypi-publish:
Expand All @@ -15,6 +17,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Build package
run: |
python setup.py sdist bdist_wheel
Expand Down

0 comments on commit 9429358

Please sign in to comment.