mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
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:
@@ -2,7 +2,7 @@ name: Unified Cross-Platform Release
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "main" ]
|
branches: [ "master", "main" ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
version_number:
|
version_number:
|
||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
get-version:
|
get-version:
|
||||||
name: Calculate Unified Version
|
name: Calculate Unified Version
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event.inputs.version_number == ''
|
if: github.event_name == 'push' || github.event.inputs.version_number == ''
|
||||||
outputs:
|
outputs:
|
||||||
version: ${{ steps.version.outputs.version }}
|
version: ${{ steps.version.outputs.version }}
|
||||||
tag_name: ${{ steps.version.outputs.tag_name }}
|
tag_name: ${{ steps.version.outputs.tag_name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user