Refactor release workflows and add release-all trigger
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.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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
|
||||
Reference in New Issue
Block a user