Update main.yml

only on tag
This commit is contained in:
Karl0ss 2025-06-09 13:47:19 +01:00 committed by GitHub
parent 81385f2f0e
commit 28d7d22cd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,9 @@
name: CI name: CI
on: on:
create: { } push:
pull_request: { } tags:
- '*' # Triggers on any tag push
permissions: permissions:
contents: write contents: write
@ -29,7 +30,6 @@ jobs:
- name: Release build artifacts - name: Release build artifacts
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with: with:
append_body: true append_body: true
body_path: ./version-info body_path: ./version-info