16e61c5d6f
Refactored build workflows for Linux, macOS, and Windows to use workflow_dispatch and workflow_call with explicit version input, replacing tag-based triggers. Updated release steps to use the provided version input for tagging and naming. Added a new release-all workflow to trigger all platform builds with a single version input.
29 lines
595 B
YAML
29 lines
595 B
YAML
name: Create All Releases
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
version:
|
|
description: 'Version name for the release (e.g., 1.0.0)'
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
release-windows:
|
|
uses: ./.github/workflows/build-windows.yml
|
|
with:
|
|
version: ${{ inputs.version }}
|
|
secrets: inherit
|
|
|
|
release-linux:
|
|
uses: ./.github/workflows/build-linux.yml
|
|
with:
|
|
version: ${{ inputs.version }}
|
|
secrets: inherit
|
|
|
|
release-macos:
|
|
uses: ./.github/workflows/build-macos.yml
|
|
with:
|
|
version: ${{ inputs.version }}
|
|
secrets: inherit
|