Skip to content

Commit

Permalink
Merge pull request #53 from JRubics/development
Browse files Browse the repository at this point in the history
Support latest python versions
  • Loading branch information
JRubics authored Jan 22, 2025
2 parents 69905d4 + 9948761 commit 4b33063
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ The following will build and publish the python package to the PyPI using the la

```yaml
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v2.0
uses: JRubics/poetry-publish@v2.1
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
```
Expand All @@ -91,7 +91,7 @@ Python and poetry versions can be specified in inputs as well as the build_forma
```yaml
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v2.0
uses: JRubics/poetry-publish@v2.1
with:
python_version: "3.7.1"
poetry_version: "==1.0.5" # (PIP version specifier syntax)
Expand All @@ -104,7 +104,7 @@ Poetry options for install and publish commands can be specified through poetry_
```yaml
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v2.0
uses: JRubics/poetry-publish@v2.1
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
poetry_install_options: "--sync --no-root"
Expand All @@ -115,7 +115,7 @@ Repository can be changed to TestPyPI or a private wheels repo by specifying rep
```yaml
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v2.0
uses: JRubics/poetry-publish@v2.1
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
repository_name: "testpypi"
Expand All @@ -126,7 +126,7 @@ Repository authentication can be changed to http-basic authentication by specify
```yaml
- name: Build and publish to private Python package repository
uses: JRubics/poetry-publish@v2.0
uses: JRubics/poetry-publish@v2.1
with:
repository_name: "foo"
repository_url: "https://foo.bar/simple/"
Expand All @@ -138,7 +138,7 @@ Extra debian packages can be installed before building the python package. This
```yaml
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v2.0
uses: JRubics/poetry-publish@v2.1
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
extra_build_dependency_packages: "capnproto libzmq3-dev"
Expand All @@ -148,7 +148,7 @@ Poetry plugins can be added by specifying plugins input
```yaml
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v2.0
uses: JRubics/poetry-publish@v2.1
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
plugins: "poetry-dynamic-versioning[plugin]"
Expand All @@ -158,7 +158,7 @@ Poetry package can be built from a subdirectory. It should be specified as packa
```yaml
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v2.0
uses: JRubics/poetry-publish@v2.1
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
package_directory: "subdirectory"
Expand All @@ -180,7 +180,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v2.0
uses: JRubics/poetry-publish@v2.1
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
```
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ inputs:
required: false
runs:
using: "docker"
image: "docker://jrubics/poetry-publish:v2.0"
image: "docker://jrubics/poetry-publish:v2.1"
args:
- ${{ inputs.python_version }}
- ${{ inputs.poetry_version }}
Expand Down

0 comments on commit 4b33063

Please sign in to comment.