Commit 967ad5f
ci: run release on pushes to main via fixed publish.yaml
Rename release.yml to publish.yaml and fix it so releases run on every
push to main (the previous publish.yaml startup-failed on each main push,
and the tag-triggered release.yml never ran and was itself broken).
The reusable PowerShellOrg/.github powershell-release.yml@main is built
for this model: its check_version job compares the manifest version
against PSGallery and gates both create_release and publish on
(version_bumped || force), so pushing to main only publishes when the
manifest version is actually new.
Fixes applied to the call:
- Trigger on push to main instead of tags ['v*'].
- Drop the module-name input, which the reusable workflow does not
declare (it derives the module name itself); passing it caused a
startup failure.
- Pass the secret as PS_GALLERY_KEY (the reusable's required secret
name) sourced from the repo's PS_GALLERY_KEY secret. release.yml
previously passed a non-existent PSGALLERY_API_KEY.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 5610581 commit 967ad5f
2 files changed
Lines changed: 18 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | 34 | | |
26 | | - | |
27 | 35 | | |
28 | 36 | | |
29 | 37 | | |
30 | | - | |
| 38 | + | |
31 | 39 | | |
32 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
This file was deleted.
0 commit comments