Skip to content

Commit 8ba58d6

Browse files
author
Daniel Sanz
committed
ci: fix publish_to_pypi job
1 parent 4e1d1fb commit 8ba58d6

File tree

2 files changed

+83
-15
lines changed

2 files changed

+83
-15
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,29 @@ on:
77
tags:
88
- "v*.*.*"
99

10-
1110
permissions:
1211
contents: write
1312

1413
jobs:
1514
build:
1615
runs-on: ubuntu-latest
1716
steps:
18-
- uses: actions/checkout@v4
19-
- name: Release
20-
uses: softprops/action-gh-release@v2
21-
with:
22-
generate_release_notes: true
23-
token: "${{ secrets.GITHUB_TOKEN }}"
17+
- uses: actions/checkout@v4
18+
- name: Release
19+
uses: softprops/action-gh-release@v2
20+
with:
21+
generate_release_notes: true
22+
token: "${{ secrets.GITHUB_TOKEN }}"
2423

2524
push_to_pypi:
2625
runs-on: ubuntu-latest
2726
steps:
28-
- uses: actions/checkout@v3
29-
- name: Publish python package
30-
uses: JRubics/poetry-publish@v1.13
31-
with:
32-
pypi_token: ${{ secrets.PYPI_TOKEN }}
33-
ignore_dev_requirements: "yes"
27+
- uses: actions/checkout@v3
28+
- name: Publish python package
29+
uses: JRubics/poetry-publish@v2.1
30+
with:
31+
pypi_token: ${{ secrets.PYPI_TOKEN }}
32+
poetry_install_options: "--without dev"
3433

3534
push_to_docker_hub:
3635
needs: push_to_pypi

0 commit comments

Comments
 (0)