From e2bb638baa3ed2738ee8495998d911018dcfb514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eugenio=20Panadero=20Maci=C3=A1?= Date: Sun, 31 Dec 2023 09:12:27 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Try=20to=20fix=20action=20for=20?= =?UTF-8?q?publish=20on=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/poetry-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/poetry-publish.yml b/.github/workflows/poetry-publish.yml index c5f3313..fd33188 100644 --- a/.github/workflows/poetry-publish.yml +++ b/.github/workflows/poetry-publish.yml @@ -2,17 +2,17 @@ name: Upload FastApi-MQTT Package on: release: - types: [created] + types: [published] jobs: release: if: github.repository == 'sabuhish/fastapi-mqtt' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: 3.11 architecture: x64 - name: Install dependencies run: |