Skip to content

Commit 7ae4de8

Browse files
authored
fix(ci): 🐛 filter out duplicate builder-debug.yml in upload-manifests job (#36)
The builder-debug.yml file is generated by electron-builder for each platform (mac/win/linux), causing duplicate files when merging artifacts. This results in a 404 error when action-gh-release tries to update an asset that was already uploaded. This fix removes builder-debug.yml before uploading, keeping only the latest-*.yml update manifests.
1 parent 1bd1401 commit 7ae4de8

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ jobs:
124124
echo "Downloaded manifests:"
125125
find manifests -type f -name "*.yml" | sort
126126
127+
- name: Filter out builder-debug.yml and keep only latest manifests
128+
run: |
129+
# Remove builder-debug.yml from manifests directory (exists in all platform artifacts)
130+
find manifests -name "builder-debug.yml" -delete
131+
echo "Remaining manifests:"
132+
find manifests -type f -name "*.yml" | sort
133+
127134
- name: Upload update manifests to release
128135
uses: softprops/action-gh-release@v2
129136
with:

0 commit comments

Comments
 (0)