Skip to content

Commit 0c9a790

Browse files
committed
Release publish fails on a duplicate flatpak artifact
flatpak-builder already uploads the bundle as an artifact, and the workflow uploaded the same file a second time as "flatpak". The publish job downloads every artifact and rejects unexpected files, so the second copy failed the 1.49.2 release. Remove the extra upload step and read the bundle from the action's artifact.
1 parent ca413e2 commit 0c9a790

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

‎.github/workflows/release-player.yml‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,6 @@ jobs:
156156
manifest-path: flatpak/com.nuclearplayer.Nuclear.yml
157157
cache-key: flatpak-builder-${{ github.sha }}
158158

159-
- name: Upload Flatpak bundle
160-
uses: actions/upload-artifact@v7
161-
with:
162-
name: flatpak
163-
if-no-files-found: error
164-
path: Nuclear_${{ env.VERSION }}_x86_64.flatpak
165-
166159
snap:
167160
runs-on: ubuntu-latest
168161

‎packages/tools/src/release-layout.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const releaseLayout = (version) => [
4545
updaterPlatforms: ['windows-x86_64-nsis'],
4646
},
4747
{
48-
artifact: 'flatpak',
48+
artifact: `Nuclear_${version}_x86_64-x86_64.flatpak`,
4949
path: `Nuclear_${version}_x86_64.flatpak`,
5050
},
5151
{

0 commit comments

Comments
 (0)