Skip to content

Commit

Permalink
Merge pull request #101 from JSchmie/develop
Browse files Browse the repository at this point in the history
update to version v0.2.0
  • Loading branch information
JSchmie authored May 31, 2024
2 parents 9a2d683 + 89a7a73 commit fba8d92
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI

on:
push:
tags:
- v* # Push tags to trigger the workflow
pull_request:
types: [closed]
branches:
- develop
- main
workflow_dispatch:
inputs:
test:
description: "Push to TestPyPI not PyPI"
default: true
type: boolean
job:
description: "Select job to run"
required: true
type: choice
options:
- Build-and-publish-to-Test-PyPI
- test-install
- publish-to-pypi

jobs:
Build-and-publish-to-Test-PyPI:
Expand Down Expand Up @@ -57,6 +59,7 @@ jobs:
steps:
- name: Checkout Repository Tags
uses: actions/checkout@v4
if: github.ref == 'refs/heads/main'
with:
fetch-depth: '0'
branch: 'main'
Expand Down

0 comments on commit fba8d92

Please sign in to comment.