Skip to content

Commit

Permalink
Merge pull request #18 from gogo2464/cicd
Browse files Browse the repository at this point in the history
cicd: upload new version when pushed or merged on main
  • Loading branch information
gogo2464 authored Nov 16, 2024
2 parents a3d1904 + 5098b2f commit 8673a5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install packaging dependencies
run: pip install setuptools wheel twine
run: pip3 install setuptools wheel twine

- name: Build Wheel
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
pull_request:
branches: main
types: closed

push:
branches:
- 'main'
jobs:
build:
if: github.event.pull_request.merged == true
Expand Down

0 comments on commit 8673a5e

Please sign in to comment.