ci: Update version setup action to support desktop and mobile app versioning

- Add input parameter to specify app type (desktop or mobile)
- Modify version extraction logic to use correct package.json based on app type
- Update build workflow to explicitly set app type when setting up version

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-03-04 15:32:32 +08:00
parent 6c6bb9b401
commit e5e9e8dfde
2 changed files with 12 additions and 1 deletions
+2
View File
@@ -223,6 +223,8 @@ jobs:
- name: Setup Version
id: version
uses: ./.github/actions/setup-version
with:
type: "desktop"
- name: Create Release Draft
if: github.ref_type == 'tag' || github.event.inputs.tag_version == 'true'