From a4d7bcef76dc3800c98670397e05f285c7bf03c5 Mon Sep 17 00:00:00 2001 From: Nate Bross Date: Tue, 21 Apr 2026 18:56:41 -0500 Subject: [PATCH] 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*-.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. --- .github/workflows/release-artifacts.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 9948623..8ada5cd 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -53,6 +53,10 @@ jobs: - name: Publish uses: softprops/action-gh-release@v2 with: - files: "SharpFM*" + # Narrowed to the versioned archive pattern: SharpFM-v{tag}-{target}.{tar.gz|zip}. + # The previous "SharpFM*" glob also matched SharpFM.sln at the + # repo root, which three parallel matrix runners then raced to + # upload, producing "Not Found" errors on the update endpoint. + files: "SharpFM-*" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file