Skip to content

Commit 5afe138

Browse files
KaiCreatesclaude
andcommitted
ci: fix duplicate SHA256SUMS.txt causing release job to fail
Both Linux and Windows jobs produced SHA256SUMS.txt — GitHub rejects duplicate asset names and aborts the release. Renamed to SHA256SUMS-linux.txt and SHA256SUMS-windows.txt respectively. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 16a39c8 commit 5afe138

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
run: |
5858
mkdir -p pkg
5959
cp inputsync pkg/
60-
sha256sum inputsync > pkg/SHA256SUMS.txt
61-
cat pkg/SHA256SUMS.txt
60+
sha256sum inputsync > pkg/SHA256SUMS-linux.txt
61+
cat pkg/SHA256SUMS-linux.txt
6262
6363
- name: Upload Linux artifact
6464
uses: actions/upload-artifact@v4
@@ -95,16 +95,16 @@ jobs:
9595
run: |
9696
Get-FileHash inputsync.exe -Algorithm SHA256 | `
9797
ForEach-Object { "$($_.Hash) inputsync.exe" } | `
98-
Out-File -FilePath "SHA256SUMS.txt"
99-
Get-Content SHA256SUMS.txt
98+
Out-File -FilePath "SHA256SUMS-windows.txt"
99+
Get-Content SHA256SUMS-windows.txt
100100
101101
- name: Upload Windows artifact
102102
uses: actions/upload-artifact@v4
103103
with:
104104
name: windows-exe
105105
path: |
106106
src-tauri/target/release/inputsync.exe
107-
src-tauri/target/release/SHA256SUMS.txt
107+
src-tauri/target/release/SHA256SUMS-windows.txt
108108
if-no-files-found: error
109109

110110
# ── GitHub Release ─────────────────────────────────────────────────────────────
@@ -147,9 +147,9 @@ jobs:
147147
prerelease: false
148148
files: |
149149
release-assets/linux/inputsync
150-
release-assets/linux/SHA256SUMS.txt
150+
release-assets/linux/SHA256SUMS-linux.txt
151151
release-assets/windows/inputsync.exe
152-
release-assets/windows/SHA256SUMS.txt
152+
release-assets/windows/SHA256SUMS-windows.txt
153153
body: |
154154
## InputSync ${{ github.ref_name }}
155155

0 commit comments

Comments
 (0)