Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(release): add deb packaging pipeline #1655

ClosedYougLin-dev(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/1655/headopened View on GitHub

Showing 6 changed files with 14 additions and 1 deletion (loading 3).

x
0 of 6 viewed, 6 left
8 additions and 1 deletion.github/workflows/release.ymlModified
View file
@@ -95,11 +95,16 @@
platform: mac
target: dmg
arch: x64
- - label: Linux x64
+ - label: Linux x64 AppImage
runner: ubuntu-24.04
platform: linux
target: AppImage
arch: x64
+ - label: Linux x64 deb
+ runner: ubuntu-24.04
+ platform: linux
+ target: deb
+ arch: x64
- label: Windows x64
runner: windows-2022
platform: win
@@ -202,6 +207,7 @@
"release/*.dmg" \
"release/*.zip" \
"release/*.AppImage" \
+ "release/*.deb" \
Thread on line 210

Duplicate artifact name causes Linux build upload conflict

High Severity

The two new Linux matrix entries (Linux x64 AppImage and Linux x64 deb) both have platform: linux and arch: x64, so the artifact upload name desktop-${{ matrix.platform }}-${{ matrix.arch }} resolves to desktop-linux-x64 for both jobs. With actions/upload-artifact@v7, uploading a second artifact with the same name in the same workflow run results in a 409 Conflict error. The artifact name template needs to incorporate matrix.target to differentiate the two Linux builds.

Additional Locations (1)
Fix in Cursor Fix in Web
"release/*.exe" \
"release/*.blockmap" \
"release/latest*.yml"; do
@@ -298,6 +304,7 @@