Skip to content

Commit 0c02813

Browse files
committed
update library an readme
1 parent 644f8a9 commit 0c02813

File tree

8 files changed

+129
-381
lines changed

8 files changed

+129
-381
lines changed

.github/workflows/main.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- name: Lint code
1414
run: |
1515
make lint
16+
1617
test:
1718
runs-on: ubuntu-latest
1819
strategy:
@@ -27,7 +28,9 @@ jobs:
2728
- name: Install dependencies
2829
run: |
2930
make deps
31+
3032
publish:
33+
if: github.ref == 'refs/heads/main'
3134
needs: [lint, test]
3235
runs-on: ubuntu-latest
3336
steps:
@@ -48,4 +51,4 @@ jobs:
4851
if: startsWith(github.ref, 'refs/tags')
4952
uses: pypa/gh-action-pypi-publish@release/v1
5053
with:
51-
password: ${{ secrets.PYPI_API_TOKEN }}
54+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)