Commit 26a4183
committed
Issue #156 fix Central publish 401 in release workflow
actions/setup-java's server-username/server-password/gpg-passphrase
inputs take environment variable NAMES, not secret values. Passing the
values directly left settings.xml with empty credentials, so the
Sonatype Central upload failed with 401 on every release tag since
0.1.8. Provide the values via the step env block and reference the
names instead.1 parent 4c05919 commit 26a4183
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| |||
0 commit comments