From 0e86d5c0e4e0a1b5cdec0d605cbc2e77b9a72adb Mon Sep 17 00:00:00 2001 From: Vadim Yakshigulov Date: Thu, 22 Feb 2024 21:07:28 +0300 Subject: [PATCH] feat: change release condition --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7dec819..f1df86e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release on: release: types: - - created + - published jobs: publish: @@ -27,9 +27,9 @@ jobs: uses: abatilo/actions-poetry@v3 with: poetry-version: ${{ matrix.poetry-version }} - - name: Builc - poetry build + - name: Build + run: poetry build - name: Publish - uses: pypa/gh-action-pypi-publish@release/v1 - with: - packages-dir: dist/ \ No newline at end of file + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: dist/