Commit 6165987
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
0 commit comments