From a34b43358699f334d37d7c0cfc0e6d45f31d2fc1 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Tue, 1 Oct 2024 18:44:48 +0300 Subject: [PATCH] chore: update CI/CD --- .github/workflows/publish.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 97383ce..eb94e80 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,7 +1,15 @@ name: Publish Python Package on: - release: - types: [published] + push: + tags: + # Pattern syntax: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet + - "v[0-9]+.[0-9]+.[0-9]+*" + workflow_dispatch: + inputs: + version: + description: 'Version number in the format `v1.2.3`' + required: true + type: string permissions: contents: read jobs: