fix(snap): preserve payload layout
Snapcraft strips the sole usr directory from tar sources, so extract the artifact directly and retain its desktop-file path.\n\nAdd a snap-only manual target to avoid rebuilding other platforms while validating packaging fixes.
This commit is contained in:
parent
2d9b828b87
commit
ca959a31e0
2 changed files with 15 additions and 2 deletions
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
|
@ -4,6 +4,15 @@ on:
|
|||
release:
|
||||
types: [published]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
target:
|
||||
description: Build target
|
||||
required: true
|
||||
default: all
|
||||
type: choice
|
||||
options:
|
||||
- all
|
||||
- snap
|
||||
|
||||
jobs:
|
||||
build-appimage:
|
||||
|
|
@ -149,6 +158,7 @@ jobs:
|
|||
release: edge
|
||||
|
||||
build-windows:
|
||||
if: github.event_name == 'release' || inputs.target == 'all'
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
|
@ -291,6 +301,7 @@ jobs:
|
|||
--clobber --repo ${{ github.repository }}
|
||||
|
||||
build-macos:
|
||||
if: github.event_name == 'release' || inputs.target == 'all'
|
||||
runs-on: macos-14 # Apple Silicon (arm64) only
|
||||
permissions:
|
||||
contents: write
|
||||
|
|
|
|||
Loading…
Reference in a new issue