File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -281,9 +281,12 @@ jobs:
281281 PUB_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
282282
283283 # Read Ed25519 .sig files generated by Tauri during build.
284- APPIMAGE_SIG=$(cat dist/linux/appimage/*.AppImage.sig 2>/dev/null || echo "")
285- DMG_SIG=$(cat dist/macos/*.dmg.sig 2>/dev/null || echo "")
286- NSIS_SIG=$(cat dist/windows/nsis/*-setup.exe.sig 2>/dev/null || echo "")
284+ # Use find to avoid path assumptions — upload-artifact@v4 preserves
285+ # the full workspace-relative path inside the artifact, so the files
286+ # land at an unpredictable depth under the dist/ subdirectory.
287+ APPIMAGE_SIG=$(find dist/linux -name "*.AppImage.sig" | head -1 | xargs cat 2>/dev/null || echo "")
288+ DMG_SIG=$(find dist/macos -name "*.dmg.sig" | head -1 | xargs cat 2>/dev/null || echo "")
289+ NSIS_SIG=$(find dist/windows -name "*-setup.exe.sig" | head -1 | xargs cat 2>/dev/null || echo "")
287290
288291 jq -n \
289292 --arg version "$VERSION" \
You can’t perform that action at this time.
0 commit comments