diff --git a/.github/workflows/build-on-tag.yml b/.github/workflows/build-on-tag.yml index baa88a3..2b1483c 100644 --- a/.github/workflows/build-on-tag.yml +++ b/.github/workflows/build-on-tag.yml @@ -1,10 +1,10 @@ -name: Build +name: Build on Tag + on: push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened] + tags: + - 'v*' # Triggers the workflow on tags starting with 'v', e.g., 'v1.0.0' + jobs: build: name: Build