Skip to content

Commit

Permalink
Fix jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
bart0003 committed Dec 14, 2023
1 parent 5599da8 commit ab8a7be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Upload Python Package
name: Build 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
@@ -1,16 +1,13 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python package
name: Run tests

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

jobs:
build:
tests:

strategy:
fail-fast: false
Expand Down

0 comments on commit ab8a7be

Please sign in to comment.