Skip to content

Commit 21ea15f

Browse files
feat: pypi publish (#31)
1 parent 6e8b3c0 commit 21ea15f

4 files changed

Lines changed: 306 additions & 376 deletions

File tree

.github/workflows/release-please.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- main
77

8+
89
permissions:
910
contents: write
1011
pull-requests: write
@@ -14,12 +15,20 @@ jobs:
1415
runs-on: ubuntu-latest
1516
steps:
1617
- name: Checkout code
17-
uses: actions/checkout@v3
18-
18+
uses: actions/checkout@v4
1919
- uses: google-github-actions/release-please-action@v4
2020
id: release
2121
with:
2222
release-type: python
23-
package-name: qscaler
24-
version-file: pyproject.toml
25-
token: ${{ secrets.GIT_TOKEN }}
23+
token: ${{ secrets.GIT_TOKEN }}
24+
pypi-publish:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Checkout code
28+
uses: actions/checkout@v4
29+
- name: Build and publish to pypi
30+
uses: JRubics/poetry-publish@v2.1
31+
with:
32+
pypi_token: ${{ secrets.PYPI_TOKEN }}
33+
build_format: "wheel"
34+
poetry_install_options: "--without lint --without test"

.github/workflows/release.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)