fix: Resolve workflow trigger issues

- Add 'master' branch to trigger (was only 'main')
- Fix get-version job condition to run on push events
- Ensure workflow triggers properly on git push

Now unified-release.yml should trigger on push to master branch!
This commit is contained in:
Tomas Dvorak
2026-03-18 14:27:12 +01:00
parent 168c92e21c
commit 22127418f1
+2 -2
View File
@@ -2,7 +2,7 @@ name: Unified Cross-Platform Release
on:
push:
branches: [ "main" ]
branches: [ "master", "main" ]
workflow_dispatch:
inputs:
version_number:
@@ -24,7 +24,7 @@ jobs:
get-version:
name: Calculate Unified Version
runs-on: ubuntu-latest
if: github.event.inputs.version_number == ''
if: github.event_name == 'push' || github.event.inputs.version_number == ''
outputs:
version: ${{ steps.version.outputs.version }}
tag_name: ${{ steps.version.outputs.tag_name }}