Skip to content

Commit 6165987

Browse files
authored
fix(ci): use recursive glob so Linux release assets attach to tag (#46)
`tauri build --target x86_64-unknown-linux-gnu` writes `.deb` to a `deb/` subdir and `.AppImage` to an `appimage/` subdir. `actions/upload-artifact@v4` preserves that nesting, so after `download-artifact`, the Linux files live at `artifacts/codex-switch-linux-x86_64/deb/*.deb` and `.../appimage/*.AppImage`. The previous one-level glob `artifacts/codex-switch-linux-x86_64/*` did not match anything; v1.5.11 tag build logged `Pattern '...' does not match any files.` and the Linux artifacts were silently missing from the release while the build job reported success. Switch all four platform globs to `**/*` so they recurse. macOS/Windows already flatten to a single level, so the change is a no-op for them.
1 parent ec0e9a0 commit 6165987

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
draft: true
183183
generate_release_notes: true
184184
files: |
185-
artifacts/codex-switch-macos-arm64/*
186-
artifacts/codex-switch-macos-x64/*
187-
artifacts/codex-switch-windows-x86_64/*
188-
artifacts/codex-switch-linux-x86_64/*
185+
artifacts/codex-switch-macos-arm64/**/*
186+
artifacts/codex-switch-macos-x64/**/*
187+
artifacts/codex-switch-windows-x86_64/**/*
188+
artifacts/codex-switch-linux-x86_64/**/*

0 commit comments

Comments
 (0)