Skip to content

Commit

Permalink
Fixed ci file
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkdrag committed Mar 12, 2024
1 parent 4831fa7 commit fc08609
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,30 @@ jobs:
- name: Generate docs
run: |
make docs
- name: Generate docs
run: |
make docs
- name: Generate package
if: github.event_name == 'release'
run: |
make dist
- name: Upload distribution package
if: github.event_name == 'release'
uses: actions/upload-artifact@master
with:
name: dist
path: dist
pypi-publish:
runs-on: ubuntu-latest
needs: build
permissions:
id-token: write
if: github.event_name == 'release'
steps:
- name: Generate package
run: |
make dist
- name: Download distribution package
uses: actions/download-artifact@master
with:
name: dist
path: dist
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit fc08609

Please sign in to comment.