Skip to content

Commit a4d7bce

Browse files
committed
fix(release): narrow artifact glob so the solution file isn't uploaded
The 'SharpFM*' glob in softprops/action-gh-release matched SharpFM.sln at the repo root alongside the intended SharpFM-v*-<target>.tar.gz / .zip archives. Three parallel matrix runners each uploaded the solution file; with overwrite_files: true one won and the others got a 'Not Found' on the asset update endpoint, failing the Publish step. Tightened the glob to 'SharpFM-*' (hyphen) so only the versioned release archives match.
1 parent c037f53 commit a4d7bce

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release-artifacts.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
- name: Publish
5454
uses: softprops/action-gh-release@v2
5555
with:
56-
files: "SharpFM*"
56+
# Narrowed to the versioned archive pattern: SharpFM-v{tag}-{target}.{tar.gz|zip}.
57+
# The previous "SharpFM*" glob also matched SharpFM.sln at the
58+
# repo root, which three parallel matrix runners then raced to
59+
# upload, producing "Not Found" errors on the update endpoint.
60+
files: "SharpFM-*"
5761
env:
5862
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)