Commit e61a14b
fix(snap): use basename for the artifact path so publish-edge finds it
Snap publish-edge failed with "'release/etherpad-desktop_0.2.0_amd64.snap'
is not a valid file" because actions/upload-artifact flattens path
patterns into the artifact root. The build job uploads `release/*.snap`,
which means the artifact's root contains the .snap file directly. When
publish-edge downloads the artifact, the file lands at the workspace
root — not under release/.
Output the BASENAME only from the find step, so the path is valid in
both the build context (where the file is at release/<name>.snap) and
the publish context (where it's at <name>.snap after download).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3af29bb commit e61a14b
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
73 | 79 | | |
74 | 80 | | |
75 | | - | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
0 commit comments