Skip to content

Commit

Permalink
chore: update publish CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudac7 committed Apr 11, 2024
1 parent 1130c19 commit ba33b0d
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
name: Build and publish python package

on:
release:
types: [ published ]
push:
tags:
- "v*.*.*"

jobs:
publish-service-client-package:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@v2
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.16
uses: JRubics/poetry-publish@v2.0
with:
python_version: ${{ matrix.python-version }}
poetry_version: "==1.6.1"
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
plugins: "poetry-dynamic-versioning-plugin"
pypi_token: ${{ secrets.PYPI_TOKEN }}

0 comments on commit ba33b0d

Please sign in to comment.