Commit 0527a88
authored
ci: fix powershell publishing job (#1426)
Create a tarball archive instead of a zip archive for the PowerShell
module.
- It’s unclear to me why, but the PowerShell module we sign and
re-archive in the package workflow is corrupted when we try to
decompress it in the release workflow.
- This is something I could verify locally using the `7z` command.
The `Publish-Module` cmdlet was also failing with a cryptic error:
> Write-Error: Cannot retrieve the dynamic parameters for the cmdlet.
> Loading repository store failed: Could not find a part of the path
> '/home/runner/.local/share/PSResourceGet/PSResourceRepository.xml'.
I walked around that by switching to the newer `Publish-PSResource`
cmdlet, which is a more modern rewrite of `Publish-Module`.1 parent 9224589 commit 0527a88
3 files changed
Lines changed: 47 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| 470 | + | |
| 471 | + | |
470 | 472 | | |
| 473 | + | |
471 | 474 | | |
472 | | - | |
473 | | - | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
474 | 478 | | |
| 479 | + | |
475 | 480 | | |
476 | | - | |
477 | | - | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
478 | 486 | | |
479 | 487 | | |
480 | 488 | | |
| |||
630 | 638 | | |
631 | 639 | | |
632 | 640 | | |
| 641 | + | |
| 642 | + | |
633 | 643 | | |
634 | 644 | | |
635 | 645 | | |
636 | 646 | | |
637 | 647 | | |
| 648 | + | |
638 | 649 | | |
639 | | - | |
640 | | - | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
641 | 654 | | |
642 | 655 | | |
643 | 656 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
| 234 | + | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
| 251 | + | |
253 | 252 | | |
254 | 253 | | |
255 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
256 | 266 | | |
257 | 267 | | |
258 | 268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | | - | |
| 173 | + | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
280 | 285 | | |
281 | 286 | | |
282 | 287 | | |
283 | | - | |
| 288 | + | |
| 289 | + | |
284 | 290 | | |
285 | | - | |
286 | | - | |
| 291 | + | |
| 292 | + | |
287 | 293 | | |
288 | | - | |
| 294 | + | |
289 | 295 | | |
290 | 296 | | |
291 | 297 | | |
292 | 298 | | |
293 | 299 | | |
294 | 300 | | |
295 | | - | |
| 301 | + | |
296 | 302 | | |
297 | 303 | | |
298 | 304 | | |
299 | | - | |
300 | | - | |
| 305 | + | |
301 | 306 | | |
302 | 307 | | |
303 | 308 | | |
| |||
0 commit comments