Skip to content

Commit

Permalink
Fix jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
bart0003 committed Dec 11, 2023
1 parent 4501eae commit 8a3207e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ name: Upload Python Package
on:
release:
types: [created]
pull_request: {}
push: {}

jobs:
deploy:
build:

runs-on: ubuntu-latest

Expand Down Expand Up @@ -42,7 +42,6 @@ jobs:
poetry publish --username=$PYPI_USERNAME --password=$PYPI_PASSWORD
- name: Upload Artifacts
uses: actions/upload-artifact@v3
if: ${{ github.event_name == 'pull_request' }}
with:
path: dist/*.whl
- name: Upload Release Assets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
name: Python package

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
push: {}

jobs:
build:
tests:

strategy:
fail-fast: false
Expand Down

0 comments on commit 8a3207e

Please sign in to comment.