From 9536e025aa35b582243d4daf976b7e0e39190923 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Sun, 6 Jul 2025 19:52:49 +0300 Subject: [PATCH] correctly upload artifacts --- .github/workflows/native-build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/native-build.yml b/.github/workflows/native-build.yml index 75fd02c8..3b576497 100644 --- a/.github/workflows/native-build.yml +++ b/.github/workflows/native-build.yml @@ -6,6 +6,9 @@ on: tag: required: true description: "Ref to build from (e.g. v1.0.0)" + push: + tags: + - "v*" env: PYTHON_VERSION: 3.11 @@ -101,7 +104,7 @@ jobs: path: dist/* - name: Upload to GitHub Release - if: startsWith(github.ref, 'refs/tags/') + if: startsWith(github.event.inputs.tag, 'v') uses: softprops/action-gh-release@v2 with: tag_name: ${{ github.event.inputs.tag }}