Skip to content

Commit

Permalink
Add release to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vkottler committed Jul 15, 2023
1 parent 5e665c8 commit 109827f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

env:
TWINE_PASSWORD: ${{secrets.TWINE_PASSWORD}}
GITHUB_API_TOKEN: ${{secrets.API_TOKEN}}

jobs:
build:
Expand Down Expand Up @@ -57,7 +58,16 @@ jobs:
env:
TWINE_USERNAME: __token__
if: |
matrix.python-version == '3.8'
matrix.python-version == '3.11'
&& matrix.system == 'ubuntu-latest'
&& env.TWINE_PASSWORD != ''
&& github.ref_name == 'master'
- run: |
mk python-release owner=vkottler \
repo=datazen version=3.1.2
if: |
matrix.python-version == '3.11'
&& matrix.system == 'ubuntu-latest'
&& env.GITHUB_API_TOKEN != ''
&& github.ref_name == 'master'

0 comments on commit 109827f

Please sign in to comment.